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

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

Issue 2047293002: Code cleanup: Replace Element with Document in element.animate() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_killForceConversionsToAnimatableValues
Patch Set: Rebased Created 4 years, 5 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/KeyframeEffectTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
index 00f2c285efb5956c335491dc6a8e525d5d9f22c7..a3b1370397517e68fc3d81380e6c734f8cb393bb 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp
@@ -224,7 +224,7 @@ TEST_F(AnimationKeyframeEffectV8Test, SpecifiedSetters)
EXPECT_EQ("reverse", specified->direction());
EXPECT_EQ("linear", specified->easing());
- specified->setEasing("step-start", exceptionState);
+ specified->setEasing(&document(), "step-start", exceptionState);
ASSERT_FALSE(exceptionState.hadException());
EXPECT_EQ("step-start", specified->easing());
}

Powered by Google App Engine
This is Rietveld 408576698