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

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

Issue 860063002: Initialize GC mixin bases only when leftmost vtable has been initialized. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add comments explaining purpose Created 5 years, 11 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
« no previous file with comments | « Source/core/svg/SVGImageElement.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 13 matching lines...) Expand all
24 #include "core/XLinkNames.h" 24 #include "core/XLinkNames.h"
25 #include "core/dom/Document.h" 25 #include "core/dom/Document.h"
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)
35 { 34 {
35 SVGURIReference::initialize(this);
36 } 36 }
37 37
38 void SVGMPathElement::trace(Visitor* visitor) 38 void SVGMPathElement::trace(Visitor* visitor)
39 { 39 {
40 SVGElement::trace(visitor); 40 SVGElement::trace(visitor);
41 SVGURIReference::trace(visitor); 41 SVGURIReference::trace(visitor);
42 } 42 }
43 43
44 DEFINE_NODE_FACTORY(SVGMPathElement) 44 DEFINE_NODE_FACTORY(SVGMPathElement)
45 45
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 notifyParentOfPathChange(parentNode()); 124 notifyParentOfPathChange(parentNode());
125 } 125 }
126 126
127 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent) 127 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent)
128 { 128 {
129 if (isSVGAnimateMotionElement(parent)) 129 if (isSVGAnimateMotionElement(parent))
130 toSVGAnimateMotionElement(parent)->updateAnimationPath(); 130 toSVGAnimateMotionElement(parent)->updateAnimationPath();
131 } 131 }
132 132
133 } // namespace blink 133 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/svg/SVGImageElement.cpp ('k') | Source/core/svg/SVGMarkerElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698