diff options
author | npm <npm@chromium.org> | 2016-10-05 13:43:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-05 13:43:25 -0700 |
commit | e883afcab15b17769bda0a1aac0f540568df3368 (patch) | |
tree | 6b86eded90bc816a985a9de87f7429e0f19ff38e /core/fpdfapi/parser | |
parent | b69a98cf50537130f88ce3a799117f2ca8353ac5 (diff) | |
download | pdfium-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/parser')
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.cpp | 4 | ||||
-rw-r--r-- | core/fpdfapi/parser/cpdf_document.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.cpp b/core/fpdfapi/parser/cpdf_document.cpp index 435f180454..0e688c685b 100644 --- a/core/fpdfapi/parser/cpdf_document.cpp +++ b/core/fpdfapi/parser/cpdf_document.cpp @@ -659,7 +659,7 @@ uint32_t CPDF_Document::GetUserPermissions() const { CPDF_Font* CPDF_Document::LoadFont(CPDF_Dictionary* pFontDict) { ASSERT(pFontDict); - return m_pDocPage->GetFont(pFontDict, FALSE); + return m_pDocPage->GetFont(pFontDict); } CPDF_StreamAcc* CPDF_Document::LoadFontFile(CPDF_Stream* pStream) { @@ -672,7 +672,7 @@ CPDF_ColorSpace* CPDF_Document::LoadColorSpace(CPDF_Object* pCSObj, } CPDF_Pattern* CPDF_Document::LoadPattern(CPDF_Object* pPatternObj, - FX_BOOL bShading, + bool bShading, const CFX_Matrix& matrix) { return m_pDocPage->GetPattern(pPatternObj, bShading, matrix); } diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h index 83ceb77b08..c557a56013 100644 --- a/core/fpdfapi/parser/cpdf_document.h +++ b/core/fpdfapi/parser/cpdf_document.h @@ -77,7 +77,7 @@ class CPDF_Document : public CPDF_IndirectObjectHolder { CPDF_Dictionary* pResources = nullptr); CPDF_Pattern* LoadPattern(CPDF_Object* pObj, - FX_BOOL bShading, + bool bShading, const CFX_Matrix& matrix); CPDF_Image* LoadImageF(CPDF_Object* pObj); |