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

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: 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
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index e2b0f14b9a4e0f3c91373fe5c57112dcce9ad919..19513db6ff35c8f9d0608753f4b3f68134b91017 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);
Yuta Kitamura 2015/02/23 07:54:41 Simply removing this function makes the "connected
kouhei (in TOK) 2015/02/23 11:51:29 HTMLFrameOwnerElement::clearContentFrame does this
-}
-
void Node::updateAncestorConnectedSubframeCountForInsertion() const
{
unsigned count = connectedSubframeCount();
« LayoutTests/fast/frames/resources/reparent-iframe.html ('K') | « Source/core/dom/Node.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698