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

Unified Diff: cc/animation/layer_animation_controller.cc

Issue 130443005: [#5] Pass gfx structs by const ref (gfx::Vector2dF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated the review comments Created 6 years, 11 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/layer_animation_controller.h ('k') | cc/animation/layer_animation_value_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_controller.cc
diff --git a/cc/animation/layer_animation_controller.cc b/cc/animation/layer_animation_controller.cc
index e1ab6464a1f73c86a4d759d2af0bd8ccd75b8e87..623949ddfe061eadfbaac5e0cc10ebc0b3bcfd5d 100644
--- a/cc/animation/layer_animation_controller.cc
+++ b/cc/animation/layer_animation_controller.cc
@@ -768,7 +768,7 @@ void LayerAnimationController::NotifyObserversFilterAnimated(
}
void LayerAnimationController::NotifyObserversScrollOffsetAnimated(
- gfx::Vector2dF scroll_offset) {
+ const gfx::Vector2dF& scroll_offset) {
FOR_EACH_OBSERVER(LayerAnimationValueObserver,
value_observers_,
OnScrollOffsetAnimated(scroll_offset));
« no previous file with comments | « cc/animation/layer_animation_controller.h ('k') | cc/animation/layer_animation_value_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698