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

Unified Diff: Source/WebCore/rendering/RenderObjectChildList.cpp

Issue 10916130: Merge 126107 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 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 | « no previous file | Source/WebCore/rendering/RenderRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderObjectChildList.cpp
===================================================================
--- Source/WebCore/rendering/RenderObjectChildList.cpp (revision 127657)
+++ Source/WebCore/rendering/RenderObjectChildList.cpp (working copy)
@@ -138,7 +138,7 @@
setLastChild(newChild);
- if (notifyRenderer)
+ if (!owner->documentBeingDestroyed() && notifyRenderer)
newChild->insertedIntoTree();
if (!owner->documentBeingDestroyed()) {
@@ -178,7 +178,7 @@
child->setParent(owner);
- if (notifyRenderer)
+ if (!owner->documentBeingDestroyed() && notifyRenderer)
child->insertedIntoTree();
if (!owner->documentBeingDestroyed()) {
« no previous file with comments | « no previous file | Source/WebCore/rendering/RenderRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698