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

Unified Diff: cc/input/page_scale_animation.h

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/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/page_scale_animation.h
diff --git a/cc/input/page_scale_animation.h b/cc/input/page_scale_animation.h
index 488409894c50c4e71079132f568d5d20de14d74d..b58f50b315cbba1f443a7ddd64e4e596c9ad5417 100644
--- a/cc/input/page_scale_animation.h
+++ b/cc/input/page_scale_animation.h
@@ -20,15 +20,14 @@ namespace cc {
// Used in the CC to pass around a scale animation that hasn't yet been
// initialized.
struct PendingPageScaleAnimation {
- PendingPageScaleAnimation(
- const gfx::Vector2d _target_offset,
- bool _use_anchor,
- float _scale,
- const base::TimeDelta& _duration)
- : target_offset(_target_offset),
- use_anchor(_use_anchor),
- scale(_scale),
- duration(_duration) {}
+ PendingPageScaleAnimation(const gfx::Vector2d& target_offset,
+ bool use_anchor,
+ float scale,
+ const base::TimeDelta& duration)
+ : target_offset(target_offset),
+ use_anchor(use_anchor),
+ scale(scale),
+ duration(duration) {}
gfx::Vector2d target_offset;
bool use_anchor;
float scale;
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark_impl.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698