Title: [184909] trunk/Source/WebCore
Revision
184909
Author
[email protected]
Date
2015-05-27 11:31:12 -0700 (Wed, 27 May 2015)

Log Message

[Mac] occasional crash in MediaPlayerPrivateAVFoundationObjC::didStopLoadingRequest
https://bugs.webkit.org/show_bug.cgi?id=145409

Reviewed by Dean Jackson.

* platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
(WebCore::WebCoreAVFResourceLoader::stopLoading): NULL-check m_avRequest.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (184908 => 184909)


--- trunk/Source/WebCore/ChangeLog	2015-05-27 18:15:08 UTC (rev 184908)
+++ trunk/Source/WebCore/ChangeLog	2015-05-27 18:31:12 UTC (rev 184909)
@@ -1,3 +1,13 @@
+2015-05-27  Eric Carlson  <[email protected]>
+
+        [Mac] occasional crash in MediaPlayerPrivateAVFoundationObjC::didStopLoadingRequest
+        https://bugs.webkit.org/show_bug.cgi?id=145409
+
+        Reviewed by Dean Jackson.
+
+        * platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
+        (WebCore::WebCoreAVFResourceLoader::stopLoading): NULL-check m_avRequest.
+
 2015-05-26  Dean Jackson  <[email protected]>
 
         Backdrop filters don't animate

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm (184908 => 184909)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm	2015-05-27 18:15:08 UTC (rev 184908)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm	2015-05-27 18:31:12 UTC (rev 184909)
@@ -88,7 +88,7 @@
     m_resource->removeClient(this);
     m_resource = 0;
 
-    if (m_parent)
+    if (m_parent && m_avRequest)
         m_parent->didStopLoadingRequest(m_avRequest.get());
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to