summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/fpdf_render/fpdf_render.cpp8
-rw-r--r--core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h1
2 files changed, 2 insertions, 7 deletions
diff --git a/core/fpdfapi/fpdf_render/fpdf_render.cpp b/core/fpdfapi/fpdf_render/fpdf_render.cpp
index 3b4390ad6c..66beb5b04c 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render.cpp
+++ b/core/fpdfapi/fpdf_render/fpdf_render.cpp
@@ -925,15 +925,11 @@ CPDF_GraphicStates* CPDF_RenderStatus::CloneObjStates(
CPDF_RenderContext::CPDF_RenderContext(CPDF_Page* pPage)
: m_pDocument(pPage->m_pDocument),
m_pPageResources(pPage->m_pPageResources),
- m_pPageCache(pPage->GetRenderCache()),
- m_bFirstLayer(TRUE) {}
+ m_pPageCache(pPage->GetRenderCache()) {}
CPDF_RenderContext::CPDF_RenderContext(CPDF_Document* pDoc,
CPDF_PageRenderCache* pPageCache)
- : m_pDocument(pDoc),
- m_pPageResources(nullptr),
- m_pPageCache(pPageCache),
- m_bFirstLayer(TRUE) {}
+ : m_pDocument(pDoc), m_pPageResources(nullptr), m_pPageCache(pPageCache) {}
CPDF_RenderContext::~CPDF_RenderContext() {}
diff --git a/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h b/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h
index 2974a658b4..9d67db1558 100644
--- a/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h
+++ b/core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h
@@ -61,7 +61,6 @@ class CPDF_RenderContext {
CPDF_Document* const m_pDocument;
CPDF_Dictionary* m_pPageResources;
CPDF_PageRenderCache* m_pPageCache;
- FX_BOOL m_bFirstLayer;
CFX_ArrayTemplate<Layer> m_Layers;
};