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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.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/animation/animation_host_perftest.cc ('k') | cc/input/page_scale_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rasterize_and_record_benchmark_impl.cc
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index 044992c8a3a7e947a2a881b027ba5995553f9338..19b72badf09e42e5b08ec15d9a8b6e2ff8e94999 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -70,7 +70,7 @@ class FixedInvalidationPictureLayerTilingClient
public:
FixedInvalidationPictureLayerTilingClient(
PictureLayerTilingClient* base_client,
- const Region invalidation)
+ const Region& invalidation)
: base_client_(base_client), invalidation_(invalidation) {}
std::unique_ptr<Tile> CreateTile(const Tile::CreateInfo& info) override {
« no previous file with comments | « cc/animation/animation_host_perftest.cc ('k') | cc/input/page_scale_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698