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_page/cpdf_graphicstates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/fpdf_page/cpdf_graphicstates.h') diff --git a/core/fpdfapi/fpdf_page/cpdf_graphicstates.h b/core/fpdfapi/fpdf_page/cpdf_graphicstates.h index a408bc794b..fb404ffb72 100644 --- a/core/fpdfapi/fpdf_page/cpdf_graphicstates.h +++ b/core/fpdfapi/fpdf_page/cpdf_graphicstates.h @@ -8,10 +8,10 @@ #define CORE_FPDFAPI_FPDF_PAGE_CPDF_GRAPHICSTATES_H_ #include "core/fpdfapi/fpdf_page/cpdf_colorstate.h" -#include "core/fpdfapi/fpdf_page/cpdf_graphstate.h" #include "core/fpdfapi/fpdf_page/cpdf_textstate.h" #include "core/fpdfapi/fpdf_page/include/cpdf_clippath.h" #include "core/fpdfapi/fpdf_page/include/cpdf_generalstate.h" +#include "core/fxge/include/cfx_graphstate.h" class CPDF_GraphicStates { public: @@ -22,7 +22,7 @@ class CPDF_GraphicStates { void DefaultStates(); CPDF_ClipPath m_ClipPath; - CPDF_GraphState m_GraphState; + CFX_GraphState m_GraphState; CPDF_ColorState m_ColorState; CPDF_TextState m_TextState; CPDF_GeneralState m_GeneralState; -- cgit v1.2.3