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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h

Issue 2357463002: Consolidate read-only exception throwing for SVG*TearOffs (Closed)
Patch Set: Baseline updates Created 4 years, 3 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/svg/properties/SVGPropertyTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
index 713fd7cedc0db9a6c591dad56c865d201b05331a..c58a0158e726a068e1e41b15caf719bd7ff3173f 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -38,6 +38,8 @@
namespace blink {
+class ExceptionState;
+
enum PropertyIsAnimValType {
PropertyIsNotAnimVal,
PropertyIsAnimVal
@@ -99,6 +101,8 @@ public:
{
}
+ static void throwReadOnly(ExceptionState&);
+
protected:
SVGPropertyTearOffBase(SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
: m_contextElement(contextElement)

Powered by Google App Engine
This is Rietveld 408576698