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

Unified Diff: Source/core/dom/Node.cpp

Issue 948793003: Fix inconsistent frame detach behavior of ContainerNode::parserRemoveChild. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 5 years, 10 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/dom/Node.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 1f921cf44822525e67ea4da85dbe81caa37cbf64..e378518492eb7fe62281a4dcac8f8c633392a082 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -2258,17 +2258,6 @@ void Node::decrementConnectedSubframeCount(unsigned amount)
rareData()->decrementConnectedSubframeCount(amount);
}
-void Node::updateAncestorConnectedSubframeCountForRemoval() const
-{
- unsigned count = connectedSubframeCount();
-
- if (!count)
- return;
-
- for (Node* node = parentOrShadowHostNode(); node; node = node->parentOrShadowHostNode())
- node->decrementConnectedSubframeCount(count);
-}
-
void Node::updateAncestorConnectedSubframeCountForInsertion() const
{
unsigned count = connectedSubframeCount();
« no previous file with comments | « Source/core/dom/Node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698