summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi/fpdf_page
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-01-29 18:04:42 -0800
committerWei Li <weili@chromium.org>2016-01-29 18:04:42 -0800
commit8f952279866afb647b7098c0cbdc25e35e8c0531 (patch)
tree52f4745db985e4c1d9439e76b2bca1578e15bc12 /core/src/fpdfapi/fpdf_page
parentaa23e7043863904ace627ce6fa470b79ebd1dbc7 (diff)
downloadpdfium-8f952279866afb647b7098c0cbdc25e35e8c0531.tar.xz
Merge to XFA: Refactor CPDF_Object and its subclasses.
Mainly use virtual functions to replace functions with switch statements. Also remove a few unused functions and make some format changes. BUG=pdfium:63 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1634373003 . (cherry picked from commit df1ab41e000069dda7bf21527308f3bf41e126ca) Review URL: https://codereview.chromium.org/1650493003 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_page')
-rw-r--r--core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp b/core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp
index 9296cd6158..3791f5fec0 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->CPDF_Object::Clone()), m_bInline);
+ pImage->LoadImageF(ToStream(m_pStream->Clone()), m_bInline);
if (m_bInline)
pImage->SetInlineDict(ToDictionary(m_pInlineDict->Clone(TRUE)));