summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_devicebuffer.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-09 20:24:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-09 20:24:35 +0000
commit0d8e530fbf898c1ba1ba4d3d91aa17e3fd4d8317 (patch)
treefbce19bfe65aa1a20ddba7337be2d1564c29e4ae /core/fpdfapi/render/cpdf_devicebuffer.h
parent417f3442593713a87e723379438bea7d842e977a (diff)
downloadpdfium-0d8e530fbf898c1ba1ba4d3d91aa17e3fd4d8317.tar.xz
Pass FX_RECT by const-ref in rendering code.
Change-Id: I1232e6c61cbe696d90d87f461ebed0a7aea40893 Reviewed-on: https://pdfium-review.googlesource.com/29973 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_devicebuffer.h')
-rw-r--r--core/fpdfapi/render/cpdf_devicebuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_devicebuffer.h b/core/fpdfapi/render/cpdf_devicebuffer.h
index 854906e03c..d265b0c30e 100644
--- a/core/fpdfapi/render/cpdf_devicebuffer.h
+++ b/core/fpdfapi/render/cpdf_devicebuffer.h
@@ -25,7 +25,7 @@ class CPDF_DeviceBuffer {
bool Initialize(CPDF_RenderContext* pContext,
CFX_RenderDevice* pDevice,
- FX_RECT* pRect,
+ const FX_RECT& rect,
const CPDF_PageObject* pObj,
int max_dpi);
void OutputToDevice();