Title: [274777] trunk/Source/WebCore
Revision
274777
Author
[email protected]
Date
2021-03-22 12:37:18 -0700 (Mon, 22 Mar 2021)

Log Message

Fix typo introduced in r274586 and revert fix from r274667 to get around compilation error following typo.
https://bugs.webkit.org/show_bug.cgi?id=223554

Patch by Jean-Yves Avenard <[email protected]> on 2021-03-22
Reviewed by Eric Carlson.

No test needed.

* testing/Internals.cpp:
(WebCore::Internals::loadArtworkImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (274776 => 274777)


--- trunk/Source/WebCore/ChangeLog	2021-03-22 19:35:09 UTC (rev 274776)
+++ trunk/Source/WebCore/ChangeLog	2021-03-22 19:37:18 UTC (rev 274777)
@@ -1,3 +1,15 @@
+2021-03-22  Jean-Yves Avenard  <[email protected]>
+
+        Fix typo introduced in r274586 and revert fix from r274667 to get around compilation error following typo.
+        https://bugs.webkit.org/show_bug.cgi?id=223554
+
+        Reviewed by Eric Carlson.
+
+        No test needed.
+
+        * testing/Internals.cpp:
+        (WebCore::Internals::loadArtworkImage):
+
 2021-03-22  Chris Dumez  <[email protected]>
 
         Better validate JSArrays in AudioWorkletProcessor

Modified: trunk/Source/WebCore/testing/Internals.cpp (274776 => 274777)


--- trunk/Source/WebCore/testing/Internals.cpp	2021-03-22 19:35:09 UTC (rev 274776)
+++ trunk/Source/WebCore/testing/Internals.cpp	2021-03-22 19:37:18 UTC (rev 274777)
@@ -6103,12 +6103,8 @@
             auto imageData = ImageData::create(unsigned(image->width()), unsigned(image->height()));
             if (!imageData.hasException())
                 m_artworkImagePromise->resolve(imageData.releaseReturnValue());
-            else {
-#if ENABLE(MEDIA_STREAM)
-                // FIXME: This seems out of place. Should this be rejecting m_artworkImagePromise instead?
-                m_nextTrackFramePromise->reject(imageData.exception().code());
-#endif
-            }
+            else
+                m_artworkImagePromise->reject(imageData.exception().code());
         } else
             m_artworkImagePromise->reject(Exception { InvalidAccessError, "No image retrieve."  });
         m_artworkImagePromise = nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to