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

Unified Diff: cc/layers/content_layer_client.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/layers/content_layer.cc ('k') | cc/layers/content_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer_client.h
diff --git a/cc/layers/content_layer_client.h b/cc/layers/content_layer_client.h
index e59c1d8c3e10a48d3a79bd7783eed0379a783a62..eac1a8738e560ba2198a24ee3921f1734b43a9e7 100644
--- a/cc/layers/content_layer_client.h
+++ b/cc/layers/content_layer_client.h
@@ -19,7 +19,7 @@ namespace cc {
class CC_EXPORT ContentLayerClient {
public:
virtual void PaintContents(SkCanvas* canvas,
- gfx::Rect clip,
+ const gfx::Rect& clip,
gfx::RectF* opaque) = 0;
// Called by the content layer during the update phase.
« no previous file with comments | « cc/layers/content_layer.cc ('k') | cc/layers/content_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698