| Index: Source/modules/webaudio/DefaultAudioDestinationNode.cpp
|
| diff --git a/Source/modules/webaudio/DefaultAudioDestinationNode.cpp b/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
|
| index ebbd9dd30d0bd22e4b5a386428bc0fef3a95117f..26e769a1614e0db5a62e19843c771617fc65e63d 100644
|
| --- a/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
|
| +++ b/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
|
| @@ -118,7 +118,7 @@ void DefaultAudioDestinationNode::setChannelCount(unsigned long channelCount, Ex
|
| ASSERT(isMainThread());
|
|
|
| if (!maxChannelCount() || channelCount > maxChannelCount()) {
|
| - ec = INVALID_STATE_ERR;
|
| + ec = InvalidStateError;
|
| return;
|
| }
|
|
|
|
|