From 7c9f0a11e3dd890aa2ae13d5bb5460951d2111d8 Mon Sep 17 00:00:00 2001 From: tsepez Date: Tue, 6 Sep 2016 13:02:55 -0700 Subject: 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 --- core/fpdfapi/fpdf_render/fpdf_render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/fpdf_render') 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( -- cgit v1.2.3