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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp

Issue 2085873004: Send scroll animation takeOver message in the same frame that it's created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix DCHECK Created 4 years, 6 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: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
index 976a456e9e33db9bf47cdd81cfa1c5b35f723157..1a8fb974ba18712e52eb7276db458f7797a3324b 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
@@ -586,8 +586,6 @@ TEST(ScrollAnimatorTest, ImplOnlyAnimationUpdatesCleared)
// Verify that the takeover update is cleared.
animator->takeOverImplOnlyScrollOffsetAnimation();
- EXPECT_TRUE(animator->hasAnimationThatRequiresService());
- animator->updateCompositorAnimations();
EXPECT_FALSE(animator->hasAnimationThatRequiresService());
// Forced GC in order to finalize objects depending on the mock object.

Powered by Google App Engine
This is Rietveld 408576698