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

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

Issue 9963064: Merge 112051 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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/WebCore/dom/ContainerNode.cpp
===================================================================
--- Source/WebCore/dom/ContainerNode.cpp (revision 112906)
+++ Source/WebCore/dom/ContainerNode.cpp (working copy)
@@ -732,6 +732,8 @@
void ContainerNode::resumePostAttachCallbacks()
{
if (s_attachDepth == 1) {
+ RefPtr<ContainerNode> protect(this);
+
if (s_postAttachCallbackQueue)
dispatchPostAttachCallbacks();
if (s_shouldReEnableMemoryCacheCallsAfterAttach) {
« no previous file with comments | « LayoutTests/plugins/object-onfocus-mutation-crash-expected.txt ('k') | Source/WebCore/html/HTMLPlugInImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698