summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-25 18:31:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-25 18:31:25 -0700
commit4d1311b27e5e0802d1486ebb8db0edd0433ef145 (patch)
treec90f20fe8cf101155d9227c1c54804cd540265c3
parent7fa5513e973f9ee6bd34b9ca1e76ad208598191f (diff)
downloadpdfium-4d1311b27e5e0802d1486ebb8db0edd0433ef145.tar.xz
Fix a Skia build error from commit 1e2c557.
Review-Url: https://codereview.chromium.org/2014113002
-rw-r--r--fpdfsdk/fpdfview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 95dd11c7cb..f483f7e4d5 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -662,7 +662,7 @@ DLLEXPORT FPDF_RECORDER STDCALL FPDF_RenderPageSkp(FPDF_PAGE page,
CFX_FxgeDevice* skDevice = new CFX_FxgeDevice;
FPDF_RECORDER recorder = skDevice->CreateRecorder(size_x, size_y);
pContext->m_pDevice = skDevice;
- FPDF_RenderPage_Retail(pContext.get(), page, 0, 0, size_x, size_y, 0, 0, TRUE,
+ FPDF_RenderPage_Retail(pContext, page, 0, 0, size_x, size_y, 0, 0, TRUE,
nullptr);
pPage->SetRenderContext(std::unique_ptr<CFX_Deletable>());
return recorder;