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

Unified Diff: cc/test/animation_test_common.cc

Issue 584503005: Make scroll offset type of float in cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: link crbug to TODO Created 6 years, 3 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/test/animation_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.cc
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc
index 953dac4df9dccdc336410e864b9b5bb32bf1729e..9966b3448e1a3b1fd782b5ba6abff9de534ff6c4 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -216,7 +216,7 @@ void FakeLayerAnimationValueObserver::OnTransformAnimated(
}
void FakeLayerAnimationValueObserver::OnScrollOffsetAnimated(
- const gfx::Vector2dF& scroll_offset) {
+ const gfx::ScrollOffset& scroll_offset) {
scroll_offset_ = scroll_offset;
}
@@ -232,7 +232,7 @@ bool FakeInactiveLayerAnimationValueObserver::IsActive() const {
return false;
}
-gfx::Vector2dF FakeLayerAnimationValueProvider::ScrollOffsetForAnimation()
+gfx::ScrollOffset FakeLayerAnimationValueProvider::ScrollOffsetForAnimation()
const {
return scroll_offset_;
}
« no previous file with comments | « cc/test/animation_test_common.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698