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

Unified Diff: Source/core/dom/ContainerNode.h

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/dom/ContainerNode.h
diff --git a/Source/core/dom/ContainerNode.h b/Source/core/dom/ContainerNode.h
index 6522a89b8e564fe6e74dfc2a01dac29df3e85c4f..1659d24cca1075803cbfe8a211e98ccf4656558c 100644
--- a/Source/core/dom/ContainerNode.h
+++ b/Source/core/dom/ContainerNode.h
@@ -99,7 +99,7 @@ public:
void parserInsertBefore(PassRefPtrWillBeRawPtr<Node> newChild, Node& refChild);
void parserTakeAllChildrenFrom(ContainerNode&);
- void removeChildren();
+ void removeChildren(bool sendModifiedEvent = true);
kouhei (in TOK) 2014/11/19 23:28:54 Please consider using an enum here.
sof 2014/11/20 12:09:59 Agree; in this case, there's no but-of-course inte
void cloneChildNodes(ContainerNode* clone);

Powered by Google App Engine
This is Rietveld 408576698