summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_shadingpattern.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-05 13:43:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-05 13:43:25 -0700
commite883afcab15b17769bda0a1aac0f540568df3368 (patch)
tree6b86eded90bc816a985a9de87f7429e0f19ff38e /core/fpdfapi/page/cpdf_shadingpattern.h
parentb69a98cf50537130f88ce3a799117f2ca8353ac5 (diff)
downloadpdfium-e883afcab15b17769bda0a1aac0f540568df3368.tar.xz
Removed unused stuff, some FX_BOOL, and cleanup pageint.h a bit
- Remove some unused stuff from pageint.h. - Replace some FX_BOOL with bool in pageint.h, and related. - Replace some "protected" with "private" in pageint.h. - Move 2 methods into namespace in fpdf_page_parser_old.cpp. Review-Url: https://codereview.chromium.org/2399573002
Diffstat (limited to 'core/fpdfapi/page/cpdf_shadingpattern.h')
-rw-r--r--core/fpdfapi/page/cpdf_shadingpattern.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/page/cpdf_shadingpattern.h b/core/fpdfapi/page/cpdf_shadingpattern.h
index 6f5978f8a5..136153d4a0 100644
--- a/core/fpdfapi/page/cpdf_shadingpattern.h
+++ b/core/fpdfapi/page/cpdf_shadingpattern.h
@@ -36,7 +36,7 @@ class CPDF_ShadingPattern : public CPDF_Pattern {
public:
CPDF_ShadingPattern(CPDF_Document* pDoc,
CPDF_Object* pPatternObj,
- FX_BOOL bShading,
+ bool bShading,
const CFX_Matrix& parentMatrix);
~CPDF_ShadingPattern() override;
@@ -52,7 +52,7 @@ class CPDF_ShadingPattern : public CPDF_Pattern {
bool Load();
ShadingType GetShadingType() const { return m_ShadingType; }
- FX_BOOL IsShadingObject() const { return m_bShadingObj; }
+ bool IsShadingObject() const { return m_bShadingObj; }
CPDF_Object* GetShadingObject() const { return m_pShadingObj; }
CPDF_ColorSpace* GetCS() const { return m_pCS; }
const std::vector<std::unique_ptr<CPDF_Function>>& GetFuncs() const {
@@ -61,7 +61,7 @@ class CPDF_ShadingPattern : public CPDF_Pattern {
private:
ShadingType m_ShadingType;
- FX_BOOL m_bShadingObj;
+ bool m_bShadingObj;
CPDF_Object* m_pShadingObj;
// Still keep |m_pCS| as some CPDF_ColorSpace (name object) are not managed