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

Unified Diff: cc/resources/picture.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/resources/picture.h ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.cc
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc
index b54e08f31d0234911c3de6cdd0625609284e10ce..da898ff4714958ebec16ecd36472570bbaf5cdd9 100644
--- a/cc/resources/picture.cc
+++ b/cc/resources/picture.cc
@@ -207,7 +207,7 @@ void Picture::Raster(
canvas->restore();
}
-void Picture::GatherPixelRefs(const gfx::Rect& layer_rect,
+void Picture::GatherPixelRefs(gfx::Rect layer_rect,
std::list<skia::LazyPixelRef*>& pixel_ref_list) {
DCHECK(picture_);
SkData* pixel_refs = SkPictureUtils::GatherPixelRefs(
« no previous file with comments | « cc/resources/picture.h ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698