diff options
Diffstat (limited to 'chromium/cc/layers/ui_resource_layer_impl.h')
-rw-r--r-- | chromium/cc/layers/ui_resource_layer_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/cc/layers/ui_resource_layer_impl.h b/chromium/cc/layers/ui_resource_layer_impl.h index 7f20050e99b..c61df47a232 100644 --- a/chromium/cc/layers/ui_resource_layer_impl.h +++ b/chromium/cc/layers/ui_resource_layer_impl.h @@ -30,10 +30,10 @@ class CC_EXPORT UIResourceLayerImpl : public LayerImpl { void SetUIResourceId(UIResourceId uid); - void SetImageBounds(gfx::Size image_bounds); + void SetImageBounds(const gfx::Size& image_bounds); // Sets a UV transform to be used at draw time. Defaults to (0, 0) and (1, 1). - void SetUV(gfx::PointF top_left, gfx::PointF bottom_right); + void SetUV(const gfx::PointF& top_left, const gfx::PointF& bottom_right); // Sets an opacity value per vertex. It will be multiplied by the layer // opacity value. |