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

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubic.h

Issue 15492007: Make SVG objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix indent Created 7 years, 7 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
« no previous file with comments | « Source/core/svg/SVGPathSegClosePath.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmooth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubic.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubic.h b/Source/core/svg/SVGPathSegCurvetoCubic.h
index e4bebdaaedbc56f64e919917d550019db1f77281..4eaa4cc765a9e3b89605cf087b04faaeb19f2b05 100644
--- a/Source/core/svg/SVGPathSegCurvetoCubic.h
+++ b/Source/core/svg/SVGPathSegCurvetoCubic.h
@@ -25,7 +25,7 @@
namespace WebCore {
-class SVGPathSegCurvetoCubic : public SVGPathSegWithContext {
+class SVGPathSegCurvetoCubic : public SVGPathSegWithContext {
public:
SVGPathSegCurvetoCubic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
: SVGPathSegWithContext(element, role)
@@ -100,6 +100,7 @@ private:
SVGPathSegCurvetoCubicAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
: SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_ABS; }
@@ -117,6 +118,7 @@ private:
SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2)
: SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_REL; }
« no previous file with comments | « Source/core/svg/SVGPathSegClosePath.h ('k') | Source/core/svg/SVGPathSegCurvetoCubicSmooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698