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

Side by Side Diff: Source/core/svg/SVGMPathElement.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 15 matching lines...) Expand all
26 #include "core/svg/SVGAnimateMotionElement.h" 26 #include "core/svg/SVGAnimateMotionElement.h"
27 #include "core/svg/SVGDocumentExtensions.h" 27 #include "core/svg/SVGDocumentExtensions.h"
28 #include "core/svg/SVGPathElement.h" 28 #include "core/svg/SVGPathElement.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 inline SVGMPathElement::SVGMPathElement(Document& document) 32 inline SVGMPathElement::SVGMPathElement(Document& document)
33 : SVGElement(SVGNames::mpathTag, document) 33 : SVGElement(SVGNames::mpathTag, document)
34 , SVGURIReference(this) 34 , SVGURIReference(this)
35 { 35 {
36 ScriptWrappable::init(this);
37 } 36 }
38 37
39 DEFINE_NODE_FACTORY(SVGMPathElement) 38 DEFINE_NODE_FACTORY(SVGMPathElement)
40 39
41 SVGMPathElement::~SVGMPathElement() 40 SVGMPathElement::~SVGMPathElement()
42 { 41 {
43 #if !ENABLE(OILPAN) 42 #if !ENABLE(OILPAN)
44 clearResourceReferences(); 43 clearResourceReferences();
45 #endif 44 #endif
46 } 45 }
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 notifyParentOfPathChange(parentNode()); 142 notifyParentOfPathChange(parentNode());
144 } 143 }
145 144
146 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent) 145 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent)
147 { 146 {
148 if (isSVGAnimateMotionElement(parent)) 147 if (isSVGAnimateMotionElement(parent))
149 toSVGAnimateMotionElement(parent)->updateAnimationPath(); 148 toSVGAnimateMotionElement(parent)->updateAnimationPath();
150 } 149 }
151 150
152 } // namespace blink 151 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698