Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3460)

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 93663004: [#2] Pass gfx structs by const ref (gfx::Rect, gfx::RectF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT, fix builds on non-linux platforms! Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.h ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_tiling_client.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index e217336c1f2c25e88b9e2d5f00854fcea3b21ee2..acbd791b7564ac7c4983ea727e3faa2dc54d5885 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -42,7 +42,7 @@ FakePictureLayerTilingClient::~FakePictureLayerTilingClient() {
scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
PictureLayerTiling*,
- gfx::Rect rect) {
+ const gfx::Rect& rect) {
if (!allow_create_tile_)
return scoped_refptr<Tile>();
return tile_manager_->CreateTile(
« no previous file with comments | « cc/test/fake_picture_layer_tiling_client.h ('k') | cc/test/fake_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698