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

Unified Diff: cc/quads/shared_quad_state.cc

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/quads/shared_quad_state.h ('k') | cc/resources/picture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/shared_quad_state.cc
diff --git a/cc/quads/shared_quad_state.cc b/cc/quads/shared_quad_state.cc
index 2b9470dd38dbb5b2f65b5671226868a26cac93f1..7bfb2b440f378b9333383add131a297eabb71fa3 100644
--- a/cc/quads/shared_quad_state.cc
+++ b/cc/quads/shared_quad_state.cc
@@ -20,9 +20,9 @@ scoped_ptr<SharedQuadState> SharedQuadState::Copy() const {
void SharedQuadState::SetAll(
const gfx::Transform& content_to_target_transform,
- const gfx::Size content_bounds,
- const gfx::Rect& visible_content_rect,
- const gfx::Rect& clip_rect,
+ gfx::Size content_bounds,
+ gfx::Rect visible_content_rect,
+ gfx::Rect clip_rect,
bool is_clipped,
float opacity) {
this->content_to_target_transform = content_to_target_transform;
« no previous file with comments | « cc/quads/shared_quad_state.h ('k') | cc/resources/picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698