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

Unified Diff: cc/resources/tile.h

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/resources/scoped_resource.cc ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 608aef7d2a1fe6844bf594be70d835efc3c2141e..b7b71203afb28e5782392a7d2a6688bb4629642a 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -54,7 +54,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
return managed_state_.drawing_info;
}
- const gfx::Rect& opaque_rect() const { return opaque_rect_; }
+ gfx::Rect opaque_rect() const { return opaque_rect_; }
bool has_text() const {
return managed_state_.picture_pile_analysis.has_text;
}
« no previous file with comments | « cc/resources/scoped_resource.cc ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698