Title: [98043] branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp
- Revision
- 98043
- Author
- gav...@chromium.org
- Date
- 2011-10-20 16:58:54 -0700 (Thu, 20 Oct 2011)
Log Message
Reland 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 (98042 => 98043)
--- branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp 2011-10-20 23:56:51 UTC (rev 98042)
+++ branches/chromium/874/Source/WebCore/dom/ScriptElement.cpp 2011-10-20 23:58:54 UTC (rev 98043)
@@ -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