Title: [270952] trunk/Source/WebCore
Revision
270952
Author
[email protected]
Date
2020-12-17 15:14:47 -0800 (Thu, 17 Dec 2020)

Log Message

[Cocoa] WebM format reader doesn't work with a url in a <source> element
https://bugs.webkit.org/show_bug.cgi?id=219961
<rdar://problem/72399014>

Unreviewed, address post-review comments after r270939.


* platform/graphics/cocoa/SourceBufferParserWebM.cpp:
(WebCore::canLoadFormatReader): Use an #elif so we don’t compile multiple
return statements.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270951 => 270952)


--- trunk/Source/WebCore/ChangeLog	2020-12-17 22:39:15 UTC (rev 270951)
+++ trunk/Source/WebCore/ChangeLog	2020-12-17 23:14:47 UTC (rev 270952)
@@ -1,3 +1,16 @@
+2020-12-17  Eric Carlson  <[email protected]>
+
+        [Cocoa] WebM format reader doesn't work with a url in a <source> element
+        https://bugs.webkit.org/show_bug.cgi?id=219961
+        <rdar://problem/72399014>
+
+        Unreviewed, address post-review comments after r270939.
+
+        * platform/graphics/cocoa/SourceBufferParserWebM.cpp:
+        (WebCore::canLoadFormatReader): Use an #elif so we don’t compile multiple
+        return statements.
+
+
 2020-12-17  Chris Dumez  <[email protected]>
 
         [WebAudio] Simplify code related to dispatchToRenderThread

Modified: trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp (270951 => 270952)


--- trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp	2020-12-17 22:39:15 UTC (rev 270951)
+++ trunk/Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp	2020-12-17 23:14:47 UTC (rev 270952)
@@ -478,9 +478,7 @@
 {
 #if !HAVE(MT_PLUGIN_FORMAT_READER)
     return false;
-#endif
-
-#if USE(APPLE_INTERNAL_SDK)
+#elif USE(APPLE_INTERNAL_SDK)
     return true;
 #else
     // FIXME (rdar://72320419): If WebKit was built with ad-hoc code-signing,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to