summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_document.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-05 15:47:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-05 15:47:31 -0700
commitf7ca7302bed831801a0b81ff4e1222c75833d2d6 (patch)
treed3e1a0f12f1322f58b2fe42a3e2ec0eb3de62d0c /fpdfsdk/cpdfsdk_document.cpp
parent735606d84b6898a51c61b17a2d286a13d964589a (diff)
downloadpdfium-f7ca7302bed831801a0b81ff4e1222c75833d2d6.tar.xz
Remove m_pOccontent from CPDFSDK_Documentchromium/2882
Unused, remove. Review-Url: https://codereview.chromium.org/2397513003
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_document.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp
index c597a1dab3..677dd835f8 100644
--- a/fpdfsdk/cpdfsdk_document.cpp
+++ b/fpdfsdk/cpdfsdk_document.cpp
@@ -128,14 +128,6 @@ FX_BOOL CPDFSDK_Document::ProcOpenAction() {
return FALSE;
}
-CPDF_OCContext* CPDFSDK_Document::GetOCContext() {
- if (!m_pOccontent) {
- m_pOccontent.reset(
- new CPDF_OCContext(GetPDFDocument(), CPDF_OCContext::View));
- }
- return m_pOccontent.get();
-}
-
void CPDFSDK_Document::RemovePageView(UnderlyingPageType* pUnderlyingPage) {
auto it = m_pageMap.find(pUnderlyingPage);
if (it == m_pageMap.end())