diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-29 10:05:20 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-29 10:05:20 -0700 |
commit | 6ed0028f1cf12ee53e9e7f657b7ba186c77a42f3 (patch) | |
tree | b6561f688e88f00b437eba6128c1b5129d813a7e /core | |
parent | 0bbb2d855b938c7dda3dd56baf7131b1861ae850 (diff) | |
download | pdfium-6ed0028f1cf12ee53e9e7f657b7ba186c77a42f3.tar.xz |
Cosmetic change to make fpdf_page_image.cpp identical to xfa.
Also stray newline in fpdf_parser_document.cpp in master.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1424213004 .
Diffstat (limited to 'core')
-rw-r--r-- | core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp | 2 | ||||
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp index a24da0adc1..06e2d2c187 100644 --- a/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp +++ b/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp @@ -49,7 +49,7 @@ CPDF_Image* CPDF_Image::Clone() { return m_pDocument->GetPageData()->GetImage(m_pStream); CPDF_Image* pImage = new CPDF_Image(m_pDocument); - pImage->LoadImageF(ToStream(m_pStream->Clone()), m_bInline); + pImage->LoadImageF(ToStream(m_pStream->CPDF_Object::Clone()), m_bInline); if (m_bInline) pImage->SetInlineDict(ToDictionary(m_pInlineDict->Clone(TRUE))); diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp index 67c18f8ae0..3b77fb275b 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp @@ -7,7 +7,6 @@ #include "../../../include/fpdfapi/fpdf_parser.h" #include "../../../include/fpdfapi/fpdf_module.h" - CPDF_Document::CPDF_Document(CPDF_Parser* pParser) : CPDF_IndirectObjects(pParser) { ASSERT(pParser != NULL); |