diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-10 10:06:56 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-10 10:06:56 -0800 |
commit | c813e21d261c24867234107f2e2ca72e15cb2534 (patch) | |
tree | ffbae40e5da12b6f0cddb4a2a0acfc4fd4107b03 /core/include/fpdfapi | |
parent | 21e079dd982f57daa9d5af0d9e48d58189ce35da (diff) | |
download | pdfium-c813e21d261c24867234107f2e2ca72e15cb2534.tar.xz |
Use unique_ptr and initializer lists in various render files.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1436573003 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r-- | core/include/fpdfapi/fpdf_pageobj.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/core/include/fpdfapi/fpdf_pageobj.h b/core/include/fpdfapi/fpdf_pageobj.h index 7ea51cc814..a3695f7e7b 100644 --- a/core/include/fpdfapi/fpdf_pageobj.h +++ b/core/include/fpdfapi/fpdf_pageobj.h @@ -10,25 +10,27 @@ #include "../fxge/fx_ge.h" #include "fpdf_resource.h" -class CPDF_Path; -class CPDF_ClipPathData; class CPDF_ClipPath; -class CPDF_ColorStateData; +class CPDF_ClipPathData; class CPDF_ColorState; -class CPDF_GraphState; -class CPDF_TextStateData; -class CPDF_TextState; -class CPDF_GeneralStateData; -class CPDF_GeneralState; -class CPDF_ContentMarkItem; +class CPDF_ColorStateData; class CPDF_ContentMark; +class CPDF_ContentMarkItem; +class CPDF_FormObject; +class CPDF_GeneralState; +class CPDF_GeneralStateData; class CPDF_GraphicStates; +class CPDF_GraphState; +class CPDF_ImageObject; class CPDF_PageObject; -class CPDF_TextObject; +class CPDF_Path; class CPDF_PathObject; -class CPDF_ImageObject; class CPDF_ShadingObject; -class CPDF_FormObject; +class CPDF_TextObject; +class CPDF_TextState; +class CPDF_TextStateData; +class CPDF_TransferFunc; + typedef CFX_PathData CPDF_PathData; class CPDF_Path : public CFX_CountRef<CFX_PathData> { @@ -196,7 +198,7 @@ class CPDF_TextState : public CFX_CountRef<CPDF_TextStateData> { FX_FLOAT GetShearAngle() const; }; -class CPDF_TransferFunc; + class CPDF_GeneralStateData { public: CPDF_GeneralStateData(); |