Title: [187675] trunk/Source/WebCore
Revision
187675
Author
[email protected]
Date
2015-07-31 13:21:15 -0700 (Fri, 31 Jul 2015)

Log Message

 CRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
 https://bugs.webkit.org/show_bug.cgi?id=147485

 Rubber-stamped by Joseph Pecoraro.

 Follow-up test crash fix: call superclass's contextDestroyed() which allows the
 m_scriptExecutionContext variable to be cleared.

 * html/HTMLMediaElement.cpp:
 (WebCore::HTMLMediaElement::contextDestroyed):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187674 => 187675)


--- trunk/Source/WebCore/ChangeLog	2015-07-31 20:17:08 UTC (rev 187674)
+++ trunk/Source/WebCore/ChangeLog	2015-07-31 20:21:15 UTC (rev 187675)
@@ -1,3 +1,16 @@
+2015-07-31  Jer Noble  <[email protected]>
+
+         CRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
+         https://bugs.webkit.org/show_bug.cgi?id=147485
+
+         Rubber-stamped by Joseph Pecoraro.
+
+         Follow-up test crash fix: call superclass's contextDestroyed() which allows the
+         m_scriptExecutionContext variable to be cleared.
+
+         * html/HTMLMediaElement.cpp:
+         (WebCore::HTMLMediaElement::contextDestroyed):
+
 2015-07-31  Joseph Pecoraro  <[email protected]>
 
         Only generate "themeWin*" UserAgentStyleSheet constants for Windows builds

Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (187674 => 187675)


--- trunk/Source/WebCore/html/HTMLMediaElement.cpp	2015-07-31 20:17:08 UTC (rev 187674)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp	2015-07-31 20:21:15 UTC (rev 187675)
@@ -4913,6 +4913,8 @@
     m_seekTaskQueue.close();
     m_resizeTaskQueue.close();
     m_shadowDOMTaskQueue.close();
+
+    ActiveDOMObject::contextDestroyed();
 }
 
 void HTMLMediaElement::stop()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to