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

Unified Diff: cc/resources/layer_painter.h

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/resources/image_layer_updater.cc ('k') | cc/resources/layer_tiling_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/layer_painter.h
diff --git a/cc/resources/layer_painter.h b/cc/resources/layer_painter.h
index 89a14243df3e6a91956808d89a9ba498f2449f05..4cb2527c42f8c66ea14d0ac1f0bbe07b0d1a3d34 100644
--- a/cc/resources/layer_painter.h
+++ b/cc/resources/layer_painter.h
@@ -20,7 +20,7 @@ class CC_EXPORT LayerPainter {
public:
virtual ~LayerPainter() {}
virtual void Paint(SkCanvas* canvas,
- gfx::Rect content_rect,
+ const gfx::Rect& content_rect,
gfx::RectF* opaque) = 0;
};
« no previous file with comments | « cc/resources/image_layer_updater.cc ('k') | cc/resources/layer_tiling_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698