Index: core/src/fpdfapi/fpdf_render/render_int.h |
diff --git a/core/src/fpdfapi/fpdf_render/render_int.h b/core/src/fpdfapi/fpdf_render/render_int.h |
index d348b48dfdf8fc91428bcaf2d3adc8f74265088a..26bef8ba424cf681d8d6d499b4f2ed90c3e4903f 100644 |
--- a/core/src/fpdfapi/fpdf_render/render_int.h |
+++ b/core/src/fpdfapi/fpdf_render/render_int.h |
@@ -384,7 +384,7 @@ class CPDF_ScaledRenderBuffer { |
FX_BOOL Initialize(CPDF_RenderContext* pContext, |
CFX_RenderDevice* pDevice, |
- FX_RECT* pRect, |
+ const FX_RECT& pRect, |
const CPDF_PageObject* pObj, |
const CPDF_RenderOptions* pOptions = NULL, |
int max_dpi = 0); |