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

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

Issue 1851003002: Throw TypeError if easing string is invalid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/AnimationInputHelpers.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.h b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.h
index 70016358b0fa1c3008d9b945d9b347ef2cdb0657..197725ddb0ec1ce84053420cf0eddad5d11e1b62 100644
--- a/third_party/WebKit/Source/core/animation/AnimationInputHelpers.h
+++ b/third_party/WebKit/Source/core/animation/AnimationInputHelpers.h
@@ -12,6 +12,7 @@
namespace blink {
class Element;
+class ExceptionState;
class TimingFunction;
class QualifiedName;
@@ -21,7 +22,7 @@ public:
static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Document&);
static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&);
static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, Element&);
- static PassRefPtr<TimingFunction> parseTimingFunction(const String&);
+ static PassRefPtr<TimingFunction> parseTimingFunction(const String&, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698