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

Unified Diff: cc/trees/quad_culler.cc

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/trees/proxy.h ('k') | cc/trees/quad_culler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/quad_culler.cc
diff --git a/cc/trees/quad_culler.cc b/cc/trees/quad_culler.cc
index 2fc8aaa6caa8fe8bcace7ccf3502e30b7a68ebe3..1b6404c5ca7ef854ee810cf14df7f5311d4801fe 100644
--- a/cc/trees/quad_culler.cc
+++ b/cc/trees/quad_culler.cc
@@ -42,7 +42,7 @@ SharedQuadState* QuadCuller::UseSharedQuadState(
static inline bool AppendQuadInternal(
scoped_ptr<DrawQuad> draw_quad,
- gfx::Rect culled_rect,
+ const gfx::Rect& culled_rect,
QuadList* quad_list,
const OcclusionTrackerImpl& occlusion_tracker,
const LayerImpl* layer,
« no previous file with comments | « cc/trees/proxy.h ('k') | cc/trees/quad_culler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698