summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_render
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-07-06 18:10:35 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-06 18:10:35 -0700
commit44105d862bfcaf9fce0ee0dfe283337bf5980337 (patch)
tree9c4f3e31b7c1e7ec0ea6eff56c1b81407ce79870 /core/fpdfapi/fpdf_render
parent2f6d1480a1be2b1f82c94219c2d99e67d7e0660d (diff)
downloadpdfium-44105d862bfcaf9fce0ee0dfe283337bf5980337.tar.xz
Change class member variables in raw pointer type into unique_ptr
Also did some cleanups such as removing an unused member variables and some unused structs. BUG=pdfium:518 Review-Url: https://codereview.chromium.org/2119013002
Diffstat (limited to 'core/fpdfapi/fpdf_render')
-rw-r--r--core/fpdfapi/fpdf_render/fpdf_render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_render/fpdf_render.cpp b/core/fpdfapi/fpdf_render/fpdf_render.cpp
index 81a02cc6a7..3b4390ad6c 100644
--- a/core/fpdfapi/fpdf_render/fpdf_render.cpp
+++ b/core/fpdfapi/fpdf_render/fpdf_render.cpp
@@ -438,7 +438,7 @@ FX_BOOL CPDF_RenderStatus::ProcessForm(const CPDF_FormObject* pFormObj,
FALSE);
status.m_curBlend = m_curBlend;
m_pDevice->SaveState();
- status.RenderObjectList(pFormObj->m_pForm, &matrix);
+ status.RenderObjectList(pFormObj->m_pForm.get(), &matrix);
m_bStopped = status.m_bStopped;
m_pDevice->RestoreState(false);
#if defined _SKIA_SUPPORT_