| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index e66cd06cfcd770ecc1c672dfe01508b91099afa3..640a70f92c44864042f29e37d4f1336475a367cb 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -146,7 +146,8 @@ class CC_EXPORT LayerTreeHost {
|
| // Composites and attempts to read back the result into the provided
|
| // buffer. If it wasn't possible, e.g. due to context lost, will return
|
| // false.
|
| - bool CompositeAndReadback(void* pixels, gfx::Rect rect_in_device_viewport);
|
| + bool CompositeAndReadback(void* pixels,
|
| + const gfx::Rect& rect_in_device_viewport);
|
|
|
| void FinishAllRendering();
|
|
|
| @@ -172,7 +173,7 @@ class CC_EXPORT LayerTreeHost {
|
| virtual void SetNeedsCommit();
|
| virtual void SetNeedsFullTreeSync();
|
| void SetNeedsRedraw();
|
| - void SetNeedsRedrawRect(gfx::Rect damage_rect);
|
| + void SetNeedsRedrawRect(const gfx::Rect& damage_rect);
|
| bool CommitRequested() const;
|
| bool BeginMainFrameRequested() const;
|
|
|
|
|