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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.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: Fix unit test crash. 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/AnimationInputHelpersTest.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.cpp b/third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.cpp
index ef7b9bf7a067c7e6b7f2b27421b9c5825e357a6d..c2fdb4961d7c2574a0ac3adebea79930a3850918 100644
--- a/third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationInputHelpersTest.cpp
@@ -22,7 +22,7 @@ public:
PassRefPtr<TimingFunction> parseTimingFunction(const String& string, ExceptionState& exceptionState)
{
- return AnimationInputHelpers::parseTimingFunction(string, document, exceptionState);
+ return AnimationInputHelpers::parseTimingFunction(string, *document, exceptionState);
}
void timingFunctionRoundTrips(const String& string, ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698