diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-26 11:47:43 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-26 11:47:43 -0800 |
commit | 66a9dc9dd65ed2b9c7ede448d046b770140f16d5 (patch) | |
tree | 9d44a3134e9cdc9e13004a633fd82a417410b102 /fpdfsdk/src/fpdf_transformpage.cpp | |
parent | e56b3ad57573c677ad84bf4a2ffd649d6134b990 (diff) | |
download | pdfium-66a9dc9dd65ed2b9c7ede448d046b770140f16d5.tar.xz |
War on #defines, part 1.
Make the two fundamental "object" types be enums.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1632143002 .
Diffstat (limited to 'fpdfsdk/src/fpdf_transformpage.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_transformpage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fpdf_transformpage.cpp b/fpdfsdk/src/fpdf_transformpage.cpp index 3e2c7b1151..a3074954a0 100644 --- a/fpdfsdk/src/fpdf_transformpage.cpp +++ b/fpdfsdk/src/fpdf_transformpage.cpp @@ -200,7 +200,7 @@ FPDFPageObj_TransformClipPath(FPDF_PAGEOBJECT page_object, // Special treatment to shading object, because the ClipPath for shading // object is already transformed. - if (pPageObj->m_Type != PDFPAGE_SHADING) + if (pPageObj->m_Type != CPDF_PageObject::SHADING) pPageObj->TransformClipPath(matrix); pPageObj->TransformGeneralState(matrix); } |