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

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

Issue 688933002: Make textContent trigger single DOMSubtreeModified event (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test Created 6 years, 2 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: Source/core/svg/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index eda255993b0ce5a910c1edc6a38919abf71d8e90..5e76849950c094ccfdc9dcd792b0cca2e9c74451 100644
--- a/Source/core/svg/SVGUseElement.cpp
+++ b/Source/core/svg/SVGUseElement.cpp
@@ -286,7 +286,7 @@ void SVGUseElement::clearResourceReferences()
// FIXME: We should try to optimize this, to at least allow partial reclones.
if (ShadowRoot* shadowTreeRootElement = userAgentShadowRoot())
- shadowTreeRootElement->removeChildren();
+ shadowTreeRootElement->removeChildren(false);
m_needsShadowTreeRecreation = false;
document().unscheduleUseShadowTreeUpdate(*this);
« Source/core/html/HTMLTitleElement.cpp ('K') | « Source/core/html/HTMLTitleElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698