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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedInteger.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/SVGAnimatedInteger.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h b/third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h
index 12d276bbe8a8dc54405873d3d5d266b070378502..ae28d695a57d2f66904d93be4308227f5221f7ad 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h
@@ -31,6 +31,7 @@
#ifndef SVGAnimatedInteger_h
#define SVGAnimatedInteger_h
+#include "bindings/core/v8/ScriptWrappable.h"
#include "core/svg/SVGInteger.h"
#include "core/svg/properties/SVGAnimatedProperty.h"
#include "platform/heap/Handle.h"
@@ -40,7 +41,7 @@ namespace blink {
class SVGAnimatedIntegerOptionalInteger;
// SVG Spec: http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedInteger
-class SVGAnimatedInteger : public SVGAnimatedProperty<SVGInteger> {
+class SVGAnimatedInteger : public SVGAnimatedProperty<SVGInteger>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<SVGAnimatedInteger> create(SVGElement* contextElement, const QualifiedName& attributeName, PassRefPtrWillBeRawPtr<SVGInteger> initialValue)

Powered by Google App Engine
This is Rietveld 408576698