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

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: blow up the patchset :( 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
Index: cc/test/animation_test_common.cc
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc
index 404e161d880494164da9d9a50426c262939422d6..c0f436bb2a0c79428b521074f928c560145dbc71 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -220,7 +220,7 @@ void FakeLayerAnimationValueObserver::OnTransformAnimated(
}
void FakeLayerAnimationValueObserver::OnScrollOffsetAnimated(
- const gfx::Vector2dF& scroll_offset) {
+ const gfx::ScrollOffset& scroll_offset) {
scroll_offset_ = scroll_offset;
}
@@ -236,7 +236,7 @@ bool FakeInactiveLayerAnimationValueObserver::IsActive() const {
return false;
}
-gfx::Vector2dF FakeLayerAnimationValueProvider::ScrollOffsetForAnimation()
+gfx::ScrollOffset FakeLayerAnimationValueProvider::ScrollOffsetForAnimation()
const {
return scroll_offset_;
}

Powered by Google App Engine
This is Rietveld 408576698