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

Unified Diff: cc/debug/debug_rect_history.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/base/tiling_data.cc ('k') | cc/debug/overdraw_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.h
diff --git a/cc/debug/debug_rect_history.h b/cc/debug/debug_rect_history.h
index 0dae431bd5f977330723458eebdce3c945bf748f..33b74a2334ba4b8efb13cdc296d5fc8343d7ac53 100644
--- a/cc/debug/debug_rect_history.h
+++ b/cc/debug/debug_rect_history.h
@@ -57,7 +57,7 @@ enum DebugRectType {
};
struct DebugRect {
- DebugRect(DebugRectType new_type, gfx::RectF new_rect)
+ DebugRect(DebugRectType new_type, const gfx::RectF& new_rect)
: type(new_type), rect(new_rect) {}
DebugRectType type;
« no previous file with comments | « cc/base/tiling_data.cc ('k') | cc/debug/overdraw_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698