summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-13 11:07:28 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-13 15:31:24 +0000
commita860a3d596f3daeadfdca0cc2093bfca722fa3a3 (patch)
tree77db958d5bff87f481680d99a5cd658c56b837f6 /fpdfsdk/fpdfview.cpp
parentc8a17e550d4d4a6f68598f8eed70eb6f8f301442 (diff)
downloadpdfium-a860a3d596f3daeadfdca0cc2093bfca722fa3a3.tar.xz
Remove unused CPDF_RenderOptions members
Remove members from CPDF_RenderOptions which are set but never read. Change-Id: I9598478bbc63c94af1c4693907abf66503138eb5 Reviewed-on: https://pdfium-review.googlesource.com/7750 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r--fpdfsdk/fpdfview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 4d0845b616..48322a74dc 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -109,7 +109,6 @@ void RenderPageImpl(CPDF_PageRenderContext* pContext,
const CPDF_OCContext::UsageType usage =
(flags & FPDF_PRINTING) ? CPDF_OCContext::Print : CPDF_OCContext::View;
- pContext->m_pOptions->m_AddFlags = flags >> 8;
pContext->m_pOptions->m_pOCContext =
pdfium::MakeRetain<CPDF_OCContext>(pPage->m_pDocument.Get(), usage);