Title: [98017] branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp
Revision
98017
Author
gav...@chromium.org
Date
2011-10-20 13:01:05 -0700 (Thu, 20 Oct 2011)

Log Message

Manual workaround for chromium bug 75604

BUG=75604
Review URL: http://codereview.chromium.org/8361008/

Modified Paths

Diff

Modified: branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp (98016 => 98017)


--- branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp	2011-10-20 19:59:14 UTC (rev 98016)
+++ branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp	2011-10-20 20:01:05 UTC (rev 98017)
@@ -322,6 +322,10 @@
 
 void ScriptElement::notifyFinished(CachedResource* o)
 {
+    // crbug.com/75604 causes double notification in some situations, disregarding the second notification
+    // is a workaround.
+    if (!m_cachedScript)
+        return;
     ASSERT(!m_willBeParserExecuted);
     ASSERT_UNUSED(o, o == m_cachedScript);
     if (m_willExecuteInOrder)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to