Title: [282539] releases/WebKitGTK/webkit-2.32/Source/WebCore
Revision
282539
Author
ape...@igalia.com
Date
2021-09-16 03:37:03 -0700 (Thu, 16 Sep 2021)

Log Message

Merge r278729 - Fix incorrect check in AudioNode.disconnect()
https://bugs.webkit.org/show_bug.cgi?id=226818
<rdar://problem/79076999>

Reviewed by Eric Carlson.

* Modules/webaudio/AudioNode.cpp:
(WebCore::AudioNode::disconnect):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog (282538 => 282539)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-09-16 10:36:58 UTC (rev 282538)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/ChangeLog	2021-09-16 10:37:03 UTC (rev 282539)
@@ -1,3 +1,14 @@
+2021-06-10  Chris Dumez  <cdu...@apple.com>
+
+        Fix incorrect check in AudioNode.disconnect()
+        https://bugs.webkit.org/show_bug.cgi?id=226818
+        <rdar://problem/79076999>
+
+        Reviewed by Eric Carlson.
+
+        * Modules/webaudio/AudioNode.cpp:
+        (WebCore::AudioNode::disconnect):
+
 2021-06-02  Rob Buis  <rb...@igalia.com>
 
         Make EndTransparancyLayer a potential no-op

Modified: releases/WebKitGTK/webkit-2.32/Source/WebCore/Modules/webaudio/AudioNode.cpp (282538 => 282539)


--- releases/WebKitGTK/webkit-2.32/Source/WebCore/Modules/webaudio/AudioNode.cpp	2021-09-16 10:36:58 UTC (rev 282538)
+++ releases/WebKitGTK/webkit-2.32/Source/WebCore/Modules/webaudio/AudioNode.cpp	2021-09-16 10:37:03 UTC (rev 282539)
@@ -312,7 +312,7 @@
     if (outputIndex >= numberOfOutputs())
         return Exception { IndexSizeError, "output index is out of bounds"_s };
 
-    if (outputIndex >= destinationNode.numberOfInputs())
+    if (inputIndex >= destinationNode.numberOfInputs())
         return Exception { IndexSizeError, "input index is out of bounds"_s };
 
     auto* output = this->output(outputIndex);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to