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

Unified Diff: cc/tiles/prioritized_tile.cc

Issue 2710593003: cc: Fix const value pattern by replacing it by non-const or reference. (Closed)
Patch Set: update rebase Created 3 years, 10 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/tiles/prioritized_tile.h ('k') | cc/tiles/software_image_decode_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/prioritized_tile.cc
diff --git a/cc/tiles/prioritized_tile.cc b/cc/tiles/prioritized_tile.cc
index 37da3a98182406af088206e544bb6e644bc11c81..a76963d340eaa8703efe9b4064ce3e49618d27b3 100644
--- a/cc/tiles/prioritized_tile.cc
+++ b/cc/tiles/prioritized_tile.cc
@@ -13,7 +13,7 @@ PrioritizedTile::PrioritizedTile() = default;
PrioritizedTile::PrioritizedTile(Tile* tile,
const PictureLayerTiling* source_tiling,
- const TilePriority priority,
+ const TilePriority& priority,
bool is_occluded,
bool is_process_for_images_only)
: tile_(tile),
« no previous file with comments | « cc/tiles/prioritized_tile.h ('k') | cc/tiles/software_image_decode_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698