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

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

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry Created 7 years, 1 month 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/AudioScheduledSourceNode.cpp
diff --git a/Source/modules/webaudio/AudioScheduledSourceNode.cpp b/Source/modules/webaudio/AudioScheduledSourceNode.cpp
index 7aa6439f9edddb5db49fdfafa14d7f1e4bd2c49a..6dbc82bcdc09609bc18fe682bac09436b35425a5 100644
--- a/Source/modules/webaudio/AudioScheduledSourceNode.cpp
+++ b/Source/modules/webaudio/AudioScheduledSourceNode.cpp
@@ -139,12 +139,12 @@ void AudioScheduledSourceNode::updateSchedulingInfo(size_t quantumFrameSize,
}
-void AudioScheduledSourceNode::start(double when, ExceptionState& es)
+void AudioScheduledSourceNode::start(double when, ExceptionState& exceptionState)
{
ASSERT(isMainThread());
if (m_playbackState != UNSCHEDULED_STATE) {
- es.throwDOMException(
+ exceptionState.throwDOMException(
InvalidStateError,
ExceptionMessages::failedToExecute(
"start",
@@ -157,19 +157,19 @@ void AudioScheduledSourceNode::start(double when, ExceptionState& es)
m_playbackState = SCHEDULED_STATE;
}
-void AudioScheduledSourceNode::stop(double when, ExceptionState& es)
+void AudioScheduledSourceNode::stop(double when, ExceptionState& exceptionState)
{
ASSERT(isMainThread());
if (m_stopCalled) {
- es.throwDOMException(
+ exceptionState.throwDOMException(
InvalidStateError,
ExceptionMessages::failedToExecute(
"stop",
"OscillatorNode",
"cannot call stop more than once."));
} else if (m_playbackState == UNSCHEDULED_STATE) {
- es.throwDOMException(
+ exceptionState.throwDOMException(
InvalidStateError,
ExceptionMessages::failedToExecute(
"stop",
« no previous file with comments | « Source/modules/webaudio/AudioScheduledSourceNode.h ('k') | Source/modules/webaudio/DefaultAudioDestinationNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698