summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_renderdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/cfx_renderdevice.h')
-rw-r--r--core/fxge/cfx_renderdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h
index 6c91d55140..e6c44ff35f 100644
--- a/core/fxge/cfx_renderdevice.h
+++ b/core/fxge/cfx_renderdevice.h
@@ -144,8 +144,8 @@ class CFX_RenderDevice {
uint32_t stroke_color,
int fill_mode,
int blend_type);
- bool FillRect(const FX_RECT* pRect, uint32_t color) {
- return FillRectWithBlend(*pRect, color, FXDIB_BLEND_NORMAL);
+ bool FillRect(const FX_RECT& rect, uint32_t color) {
+ return FillRectWithBlend(rect, color, FXDIB_BLEND_NORMAL);
}
RetainPtr<CFX_DIBitmap> GetBackDrop();