Title: [274257] trunk/Source/WebCore
Revision
274257
Author
cdu...@apple.com
Date
2021-03-10 17:51:52 -0800 (Wed, 10 Mar 2021)

Log Message

Unreviewed, another Windows build fix after r274252.

* platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
(WebCore::AVFWrapper::createPlayerItem):
* platform/network/cf/LoaderRunLoopCF.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (274256 => 274257)


--- trunk/Source/WebCore/ChangeLog	2021-03-11 01:44:56 UTC (rev 274256)
+++ trunk/Source/WebCore/ChangeLog	2021-03-11 01:51:52 UTC (rev 274257)
@@ -1,5 +1,13 @@
 2021-03-10  Chris Dumez  <cdu...@apple.com>
 
+        Unreviewed, another Windows build fix after r274252.
+
+        * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
+        (WebCore::AVFWrapper::createPlayerItem):
+        * platform/network/cf/LoaderRunLoopCF.cpp:
+
+2021-03-10  Chris Dumez  <cdu...@apple.com>
+
         Unreviewed attempt to fix Windows build after r274252.
 
         * platform/graphics/cg/ColorSpaceCG.cpp:

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp (274256 => 274257)


--- trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp	2021-03-11 01:44:56 UTC (rev 274256)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp	2021-03-11 01:51:52 UTC (rev 274257)
@@ -1604,7 +1604,7 @@
         return;
 
     // Create the player item so we begin loading media data.
-    m_avPlayerItem = adoptF(AVCFPlayerItemCreateWithAsset(kCFAllocatorDefault, avAsset(), m_notificationQueue.get()));
+    m_avPlayerItem = adoptCF(AVCFPlayerItemCreateWithAsset(kCFAllocatorDefault, avAsset(), m_notificationQueue.get()));
 
     CFNotificationCenterRef center = CFNotificationCenterGetLocalCenter();
     ASSERT(center);

Modified: trunk/Source/WebCore/platform/network/cf/LoaderRunLoopCF.cpp (274256 => 274257)


--- trunk/Source/WebCore/platform/network/cf/LoaderRunLoopCF.cpp	2021-03-11 01:44:56 UTC (rev 274256)
+++ trunk/Source/WebCore/platform/network/cf/LoaderRunLoopCF.cpp	2021-03-11 01:51:52 UTC (rev 274257)
@@ -35,6 +35,7 @@
 #include <wtf/Condition.h>
 #include <wtf/Lock.h>
 #include <wtf/MainThread.h>
+#include <wtf/RetainPtr.h>
 #include <wtf/Threading.h>
 
 namespace WebCore {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to