⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 278729 in webkit


Ignore:
Timestamp:
Jun 10, 2021, 1:53:47 PM (5 years ago)
Author:
Chris Dumez
Message:

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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r278728 r278729  
     12021-06-10  Chris Dumez  <cdumez@apple.com>
     2
     3        Fix incorrect check in AudioNode.disconnect()
     4        https://bugs.webkit.org/show_bug.cgi?id=226818
     5        <rdar://problem/79076999>
     6
     7        Reviewed by Eric Carlson.
     8
     9        * Modules/webaudio/AudioNode.cpp:
     10        (WebCore::AudioNode::disconnect):
     11
    1122021-06-10  Toshio Ogasawara  <toshio.ogasawara@access-company.com>
    213
  • trunk/Source/WebCore/Modules/webaudio/AudioNode.cpp

    r278266 r278729  
    317317        return Exception { IndexSizeError, "output index is out of bounds"_s };
    318318
    319     if (outputIndex >= destinationNode.numberOfInputs())
     319    if (inputIndex >= destinationNode.numberOfInputs())
    320320        return Exception { IndexSizeError, "input index is out of bounds"_s };
    321321
Note: See TracChangeset for help on using the changeset viewer.