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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h

Issue 1807333003: Push ScriptWrappable inheritance down from SVGAnimatedPropertyBase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DEFINE_WRAPPERTYPEINFO_NOT_REACHED. Created 4 years, 9 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/SVGAnimatedNumber.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
index 500de2ab7bfba9b0bff58b310a6005fd3544232a..d0dd9846ca7abb282fb06fa68854b9fb700d4cc0 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h
@@ -31,6 +31,7 @@
#ifndef SVGAnimatedNumber_h
#define SVGAnimatedNumber_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/svg/SVGNumberTearOff.h"
#include "core/svg/properties/SVGAnimatedProperty.h"
#include "platform/heap/Handle.h"
@@ -40,7 +41,7 @@ namespace blink {
class SVGAnimatedNumberOptionalNumber;
// SVG Spec: http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedNumber
-class SVGAnimatedNumber : public SVGAnimatedProperty<SVGNumber> {
+class SVGAnimatedNumber : public SVGAnimatedProperty<SVGNumber>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<SVGAnimatedNumber> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGNumber> initialValue)
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedLengthList.h ('k') | third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698