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

Unified Diff: ui/compositor/layer.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 | « gpu/command_buffer/client/gles2_implementation.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index ff2f7da4f84cc96890a584f757c732e16f25dc17..f52c40fef37d4883efc5843b2a97343a7e96e77b 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -316,7 +316,7 @@ class COMPOSITOR_EXPORT Layer
// ContentLayerClient
virtual void PaintContents(
- SkCanvas* canvas, gfx::Rect clip, gfx::RectF* opaque) OVERRIDE;
+ SkCanvas* canvas, const gfx::Rect& clip, gfx::RectF* opaque) OVERRIDE;
virtual void DidChangeLayerCanUseLCDText() OVERRIDE {}
cc::Layer* cc_layer() { return cc_layer_; }
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698