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

Unified Diff: cc/animation/animation_host_perftest.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 | « no previous file | cc/debug/rasterize_and_record_benchmark_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host_perftest.cc
diff --git a/cc/animation/animation_host_perftest.cc b/cc/animation/animation_host_perftest.cc
index a7c6e8989d62db5b211ed7b216ede0609af5813f..776a6872facfc651aaf074d5c10daacd4fbca528 100644
--- a/cc/animation/animation_host_perftest.cc
+++ b/cc/animation/animation_host_perftest.cc
@@ -56,7 +56,7 @@ class AnimationHostPerfTest : public testing::Test {
return layer_tree_host_->host_impl()->animation_host();
}
- void CreatePlayers(const int num_players) {
+ void CreatePlayers(int num_players) {
all_players_timeline_ =
AnimationTimeline::Create(AnimationIdProvider::NextTimelineId());
host()->AddAnimationTimeline(all_players_timeline_);
@@ -89,7 +89,7 @@ class AnimationHostPerfTest : public testing::Test {
EXPECT_TRUE(timeline_impl->GetPlayerById(i));
}
- void CreateTimelines(const int num_timelines) {
+ void CreateTimelines(int num_timelines) {
first_timeline_id_ = AnimationIdProvider::NextTimelineId();
last_timeline_id_ = first_timeline_id_;
« no previous file with comments | « no previous file | cc/debug/rasterize_and_record_benchmark_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698