summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/cpdf_graphicstates.h
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_page/cpdf_graphicstates.h
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_page/cpdf_graphicstates.h')
-rw-r--r--core/fpdfapi/fpdf_page/cpdf_graphicstates.h4
1 files changed, 2 insertions, 2 deletions
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;