summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_dataavail.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-22 17:00:12 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-22 17:00:12 -0800
commit19c6160ba46af0ec266c9b3903a65ef3186176df (patch)
tree8e5f0d21dea080d76cc89b80f7319d0357f79652 /fpdfsdk/src/fpdf_dataavail.cpp
parentc8f6ab628c4bdf90dcee3d5ac153beb043a42f92 (diff)
downloadpdfium-19c6160ba46af0ec266c9b3903a65ef3186176df.tar.xz
Merge to XFA: Use IPDF_DataAvail interface to hide CPDF_DataAvail.
Original CL at https://codereview.chromium.org/873523002/ TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/871773002
Diffstat (limited to 'fpdfsdk/src/fpdf_dataavail.cpp')
-rw-r--r--fpdfsdk/src/fpdf_dataavail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/src/fpdf_dataavail.cpp b/fpdfsdk/src/fpdf_dataavail.cpp
index efd12078a4..2deba316f9 100644
--- a/fpdfsdk/src/fpdf_dataavail.cpp
+++ b/fpdfsdk/src/fpdf_dataavail.cpp
@@ -93,7 +93,7 @@ public:
if (m_pDataAvail) delete m_pDataAvail;
}
- CPDF_DataAvail* m_pDataAvail;
+ IPDF_DataAvail* m_pDataAvail;
CFPDF_FileAvailWrap m_FileAvail;
CFPDF_FileAccessWrap m_FileRead;
};
@@ -103,7 +103,7 @@ DLLEXPORT FPDF_AVAIL STDCALL FPDFAvail_Create(FX_FILEAVAIL* file_avail, FPDF_FIL
CFPDF_DataAvail* pAvail = FX_NEW CFPDF_DataAvail;
pAvail->m_FileAvail.Set(file_avail);
pAvail->m_FileRead.Set(file);
- pAvail->m_pDataAvail = FX_NEW CPDF_DataAvail(&pAvail->m_FileAvail, &pAvail->m_FileRead);
+ pAvail->m_pDataAvail = IPDF_DataAvail::Create(&pAvail->m_FileAvail, &pAvail->m_FileRead);
return pAvail;
}