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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationEffectTiming.h

Issue 1851003002: Throw TypeError if easing string is invalid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix "liner"->"linear" typo in ui/file_manager js file Created 4 years, 8 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/AnimationEffectTiming.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.h b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.h
index 7983293c0b374486d7c801f8758ea1c6a7fc07a7..22d33d28c814e4943ec0edcbe9ff418e0cbce0eb 100644
--- a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.h
+++ b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.h
@@ -12,6 +12,7 @@
namespace blink {
+class ExceptionState;
class UnrestrictedDoubleOrString;
class CORE_EXPORT AnimationEffectTiming : public GarbageCollected<AnimationEffectTiming>, public ScriptWrappable {
@@ -36,7 +37,7 @@ public:
void setDuration(const UnrestrictedDoubleOrString&);
void setPlaybackRate(double);
void setDirection(String);
- void setEasing(String);
+ void setEasing(String, ExceptionState&);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698