Index: cc/layers/delegated_renderer_layer_impl.h |
diff --git a/cc/layers/delegated_renderer_layer_impl.h b/cc/layers/delegated_renderer_layer_impl.h |
index a82a1f7c65f2a3b05b5ec20ab81d68da94723c24..e71fce842fbe122ec8e3fc5e658e4a6d2a5a4c9b 100644 |
--- a/cc/layers/delegated_renderer_layer_impl.h |
+++ b/cc/layers/delegated_renderer_layer_impl.h |
@@ -48,7 +48,7 @@ class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { |
void SetFrameData(const DelegatedFrameData* frame_data, |
const gfx::RectF& damage_in_frame); |
- void SetDisplaySize(gfx::Size size); |
+ void SetDisplaySize(const gfx::Size& size); |
protected: |
DelegatedRendererLayerImpl(LayerTreeImpl* tree_impl, int id); |
@@ -77,14 +77,14 @@ class CC_EXPORT DelegatedRendererLayerImpl : public LayerImpl { |
RenderPass::Id delegated_render_pass_id, |
RenderPass::Id* output_render_pass_id) const; |
- gfx::Transform DelegatedFrameToLayerSpaceTransform(gfx::Size frame_size) |
- const; |
+ gfx::Transform DelegatedFrameToLayerSpaceTransform( |
+ const gfx::Size& frame_size) const; |
void AppendRenderPassQuads( |
QuadSink* quad_sink, |
AppendQuadsData* append_quads_data, |
const RenderPass* delegated_render_pass, |
- gfx::Size frame_size) const; |
+ const gfx::Size& frame_size) const; |
// LayerImpl overrides. |
virtual const char* LayerTypeAsString() const OVERRIDE; |