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

Unified Diff: cc/layers/tiled_layer.h

Issue 145313006: [#7] Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to TOT and fixed build errors on other 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
Index: cc/layers/tiled_layer.h
diff --git a/cc/layers/tiled_layer.h b/cc/layers/tiled_layer.h
index f2f7e96293f38632823ca6245ec8b09f59249ccc..50e2b674f46d5209f76a9c06d29ffcfdea05711a 100644
--- a/cc/layers/tiled_layer.h
+++ b/cc/layers/tiled_layer.h
@@ -46,7 +46,7 @@ class CC_EXPORT TiledLayer : public ContentsScalingLayer {
void UpdateBounds();
// Exposed to subclasses for testing.
- void SetTileSize(gfx::Size size);
+ void SetTileSize(const gfx::Size& size);
void SetTextureFormat(ResourceFormat texture_format) {
texture_format_ = texture_format;
}

Powered by Google App Engine
This is Rietveld 408576698