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

Unified Diff: Source/core/svg/SVGElement.cpp

Issue 268303004: Move SVGElement::finishParsingChildren to SVGSVGElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nit Created 6 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/SVGElement.h ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index a8a6ec4c071b3c06c011963d107f39cb61cf2dc6..df8bf5805ad1fd2000ab9284c6d2ef425c082586 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -921,20 +921,6 @@ Timer<SVGElement>* SVGElement::svgLoadEventTimer()
return 0;
}
-void SVGElement::finishParsingChildren()
-{
- Element::finishParsingChildren();
-
- // The outermost SVGSVGElement SVGLoad event is fired through Document::dispatchWindowLoadEvent.
- if (isOutermostSVGSVGElement())
- return;
-
- // finishParsingChildren() is called when the close tag is reached for an element (e.g. </svg>)
- // we send SVGLoad events here if we can, otherwise they'll be sent when any required loads finish
- if (isSVGSVGElement(*this))
- sendSVGLoadEventIfPossible();
-}
-
void SVGElement::attributeChanged(const QualifiedName& name, const AtomicString& newValue, AttributeModificationReason)
{
Element::attributeChanged(name, newValue);
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698