Index: fpdfsdk/fpdfview.cpp |
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp |
index 95dd11c7cb2a11d84e737797aad57ee6e8e22406..f483f7e4d551b85f1362023b3d3438e7eaea585c 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; |