| Index: Source/modules/webaudio/AudioScheduledSourceNode.cpp
|
| diff --git a/Source/modules/webaudio/AudioScheduledSourceNode.cpp b/Source/modules/webaudio/AudioScheduledSourceNode.cpp
|
| index 6dbc82bcdc09609bc18fe682bac09436b35425a5..f53e18cf44e1c9a46ae7076b63996150ed9b01d6 100644
|
| --- a/Source/modules/webaudio/AudioScheduledSourceNode.cpp
|
| +++ b/Source/modules/webaudio/AudioScheduledSourceNode.cpp
|
| @@ -28,7 +28,6 @@
|
|
|
| #include "modules/webaudio/AudioScheduledSourceNode.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/events/Event.h"
|
| @@ -146,10 +145,7 @@ void AudioScheduledSourceNode::start(double when, ExceptionState& exceptionState
|
| if (m_playbackState != UNSCHEDULED_STATE) {
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
| - ExceptionMessages::failedToExecute(
|
| - "start",
|
| - "OscillatorNode",
|
| - "cannot call start more than once."));
|
| + "cannot call start more than once.");
|
| return;
|
| }
|
|
|
| @@ -164,17 +160,11 @@ void AudioScheduledSourceNode::stop(double when, ExceptionState& exceptionState)
|
| if (m_stopCalled) {
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
| - ExceptionMessages::failedToExecute(
|
| - "stop",
|
| - "OscillatorNode",
|
| - "cannot call stop more than once."));
|
| + "cannot call stop more than once.");
|
| } else if (m_playbackState == UNSCHEDULED_STATE) {
|
| exceptionState.throwDOMException(
|
| InvalidStateError,
|
| - ExceptionMessages::failedToExecute(
|
| - "stop",
|
| - "OscillatorNode",
|
| - "cannot call stop without calling start first."));
|
| + "cannot call stop without calling start first.");
|
| } else {
|
| // This can only happen from the SCHEDULED_STATE or PLAYING_STATE. The UNSCHEDULED_STATE is
|
| // handled above, and the FINISHED_STATE is only reachable after stop() has been called, and
|
|
|