summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-22 12:06:32 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-22 12:06:32 -0800
commit71fdc34b71760735aa0c14c820a1a10eb1e5829a (patch)
tree03424565134e2dd7adb29a23a15324600b764b57 /fpdfsdk/src
parent8139bc147f6936d490d2e47632213ec13251e925 (diff)
downloadpdfium-71fdc34b71760735aa0c14c820a1a10eb1e5829a.tar.xz
Merge to XFA: Change _PDF_RenderItem to CPDF_RenderContext::Layer.
Original Review URL: https://codereview.chromium.org/1620523002 . (cherry picked from commit d5712ac571f3487fe3f74617fdab007a11a09052) TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1624553004 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fpdfview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fpdfview.cpp b/fpdfsdk/src/fpdfview.cpp
index a4f345ef02..ccd127c559 100644
--- a/fpdfsdk/src/fpdfview.cpp
+++ b/fpdfsdk/src/fpdfview.cpp
@@ -951,7 +951,7 @@ void FPDF_RenderPage_Retail(CRenderContext* pContext,
pContext->m_pDevice->SetClip_Rect(&clip);
pContext->m_pContext = new CPDF_RenderContext(pPage);
- pContext->m_pContext->AppendObjectList(pPage, &matrix);
+ pContext->m_pContext->AppendLayer(pPage, &matrix);
if (flags & FPDF_ANNOT) {
pContext->m_pAnnots = new CPDF_AnnotList(pPage);