Chromium Code Reviews

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

Issue 11846002: Merge 138131 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Node.cpp
===================================================================
--- Source/WebCore/dom/Node.cpp (revision 139387)
+++ Source/WebCore/dom/Node.cpp (working copy)
@@ -2095,25 +2095,6 @@
return document();
}
-Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* insertionPoint)
-{
- ASSERT(insertionPoint->inDocument() || isContainerNode());
- if (insertionPoint->inDocument())
- setFlag(InDocumentFlag);
- if (parentOrHostNode()->isInShadowTree())
- setFlag(IsInShadowTreeFlag);
- return InsertionDone;
-}
-
-void Node::removedFrom(ContainerNode* insertionPoint)
-{
- ASSERT(insertionPoint->inDocument() || isContainerNode());
- if (insertionPoint->inDocument())
- clearFlag(InDocumentFlag);
- if (isInShadowTree() && !treeScope()->rootNode()->isShadowRoot())
- clearFlag(IsInShadowTreeFlag);
-}
-
void Node::didMoveToNewDocument(Document* oldDocument)
{
TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(oldDocument);
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine