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

Unified Diff: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp

Issue 1739743003: Blink Compositor Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Exclude histograms.xml Created 4 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
Index: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
index 1a599a7b9261e7a7e52f599468620b4675ff8c98..de66475bd575d2b8d29863da9f1ba8cc2ba9f842 100644
--- a/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
+++ b/third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp
@@ -109,18 +109,16 @@ protected:
m_keyframeVector5 = createCompositableFloatKeyframeVector(5);
m_keyframeAnimationEffect5 = AnimatableValueKeyframeEffectModel::create(*m_keyframeVector5);
- if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled()) {
- EXPECT_CALL(*m_mockCompositorFactory, createAnimationTimeline())
- .WillOnce(Return(new WebCompositorAnimationTimelineMock()));
- }
+ EXPECT_CALL(*m_mockCompositorFactory, createAnimationTimeline())
+ .WillOnce(Return(new WebCompositorAnimationTimelineMock()));
+
m_pageHolder = DummyPageHolder::create();
m_document = &m_pageHolder->document();
m_document->animationClock().resetTimeForTesting();
- if (RuntimeEnabledFeatures::compositorAnimationTimelinesEnabled()) {
- EXPECT_CALL(*m_mockCompositorFactory, createAnimationTimeline())
- .WillOnce(Return(new WebCompositorAnimationTimelineMock()));
- }
+ EXPECT_CALL(*m_mockCompositorFactory, createAnimationTimeline())
+ .WillOnce(Return(new WebCompositorAnimationTimelineMock()));
+
m_timeline = AnimationTimeline::create(m_document.get());
m_timeline->resetForTesting();
m_element = m_document->createElement("test", ASSERT_NO_EXCEPTION);

Powered by Google App Engine
This is Rietveld 408576698