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

Unified Diff: WebCore/dom/Node.cpp

Issue 5753004: Merge 73559 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years 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 | « WebCore/dom/Document.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/dom/Node.cpp
===================================================================
--- WebCore/dom/Node.cpp (revision 73793)
+++ WebCore/dom/Node.cpp (working copy)
@@ -445,8 +445,10 @@
document->addNodeListCache();
}
- if (m_document)
+ if (m_document) {
+ m_document->moveNodeIteratorsToNewDocument(this, document);
m_document->selfOnlyDeref();
+ }
m_document = document;
« no previous file with comments | « WebCore/dom/Document.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698