Cosmetic change to make fpdf_page_image.cpp identical to xfa.
authorTom Sepez <tsepez@chromium.org>
Thu, 29 Oct 2015 17:05:20 +0000 (10:05 -0700)
committerTom Sepez <tsepez@chromium.org>
Thu, 29 Oct 2015 17:05:20 +0000 (10:05 -0700)
Also stray newline in fpdf_parser_document.cpp in master.

R=dsinclair@chromium.org

Review URL: https://codereview.chromium.org/1424213004 .

core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp

index a24da0a..06e2d2c 100644 (file)
@@ -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)));
 
index 67c18f8..3b77fb2 100644 (file)
@@ -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);