Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: Source/modules/webaudio/AudioBufferSourceNode.cpp

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: MessagePort. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/webaudio/AudioBufferSourceNode.cpp
diff --git a/Source/modules/webaudio/AudioBufferSourceNode.cpp b/Source/modules/webaudio/AudioBufferSourceNode.cpp
index eaa7fe8ed57e17b2262c00761f5a0bd4c879fdcb..07a63a57bc10584a6ea222d653248eee9aba636a 100644
--- a/Source/modules/webaudio/AudioBufferSourceNode.cpp
+++ b/Source/modules/webaudio/AudioBufferSourceNode.cpp
@@ -28,7 +28,6 @@
#include "modules/webaudio/AudioBufferSourceNode.h"
-#include "bindings/v8/ExceptionMessages.h"
#include "bindings/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
#include "core/page/PageConsole.h"
@@ -410,10 +409,7 @@ void AudioBufferSourceNode::startPlaying(bool isGrain, double when, double grain
if (m_playbackState != UNSCHEDULED_STATE) {
exceptionState.throwDOMException(
InvalidStateError,
- ExceptionMessages::failedToExecute(
- "start",
- nodeTypeName(),
- "cannot call start more than once."));
+ "cannot call start more than once.");
return;
}

Powered by Google App Engine
This is Rietveld 408576698