summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_render
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-09-06 13:02:55 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-06 13:02:55 -0700
commit7c9f0a11e3dd890aa2ae13d5bb5460951d2111d8 (patch)
treef3e393a0878d744744c69b445882632a4070d977 /core/fpdfapi/fpdf_render
parentf692e8e33eb2e6811196170238471532edae6858 (diff)
downloadpdfium-7c9f0a11e3dd890aa2ae13d5bb5460951d2111d8.tar.xz
Move CPDF_GraphState to CFX_GraphState
The FX layer is spying on its private data, so make the job of ref-counting it live in FX as well, instead of up a layer at pdfapi. Pre-cursor to making this private and passing the graph state itself everywhere. Review-Url: https://codereview.chromium.org/2314223002
Diffstat (limited to 'core/fpdfapi/fpdf_render')
-rw-r--r--core/fpdfapi/fpdf_render/fpdf_render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_render/fpdf_render.cpp b/core/fpdfapi/fpdf_render/fpdf_render.cpp
index d7c6e2f604..89667f3a23 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render.cpp
+++ b/core/fpdfapi/fpdf_render/fpdf_render.cpp
@@ -493,7 +493,7 @@ FX_BOOL CPDF_RenderStatus::ProcessPath(CPDF_PathObject* pPathObj,
if (m_pType3Char)
FillType |= FX_FILL_TEXT_MODE;
- CPDF_GraphState graphState = pPathObj->m_GraphState;
+ CFX_GraphState graphState = pPathObj->m_GraphState;
if (m_Options.m_Flags & RENDER_THINLINE)
graphState.SetLineWidth(0);
return m_pDevice->DrawPathWithBlend(