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

Unified Diff: Source/modules/webaudio/AnalyserNode.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
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | Source/modules/webaudio/AudioBasicInspectorNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AnalyserNode.cpp
diff --git a/Source/modules/webaudio/AnalyserNode.cpp b/Source/modules/webaudio/AnalyserNode.cpp
index cd051b4f442f18fffa3079123a6c4139b3dbb544..83e6dba02efff10216c9a926402e8c765655cbae 100644
--- a/Source/modules/webaudio/AnalyserNode.cpp
+++ b/Source/modules/webaudio/AnalyserNode.cpp
@@ -74,10 +74,10 @@ void AnalyserNode::reset()
m_analyser.reset();
}
-void AnalyserNode::setFftSize(unsigned size, ExceptionState& es)
+void AnalyserNode::setFftSize(unsigned size, ExceptionState& exceptionState)
{
if (!m_analyser.setFftSize(size)) {
- es.throwDOMException(
+ exceptionState.throwDOMException(
IndexSizeError,
ExceptionMessages::failedToSet(
"fftSize",
@@ -89,12 +89,12 @@ void AnalyserNode::setFftSize(unsigned size, ExceptionState& es)
}
}
-void AnalyserNode::setMinDecibels(float k, ExceptionState& es)
+void AnalyserNode::setMinDecibels(float k, ExceptionState& exceptionState)
{
if (k <= maxDecibels()) {
m_analyser.setMinDecibels(k);
} else {
- es.throwDOMException(
+ exceptionState.throwDOMException(
IndexSizeError,
ExceptionMessages::failedToSet(
"minDecibels",
@@ -105,12 +105,12 @@ void AnalyserNode::setMinDecibels(float k, ExceptionState& es)
}
}
-void AnalyserNode::setMaxDecibels(float k, ExceptionState& es)
+void AnalyserNode::setMaxDecibels(float k, ExceptionState& exceptionState)
{
if (k >= minDecibels()) {
m_analyser.setMaxDecibels(k);
} else {
- es.throwDOMException(
+ exceptionState.throwDOMException(
IndexSizeError,
ExceptionMessages::failedToSet(
"maxDecibels",
@@ -121,12 +121,12 @@ void AnalyserNode::setMaxDecibels(float k, ExceptionState& es)
}
}
-void AnalyserNode::setSmoothingTimeConstant(float k, ExceptionState& es)
+void AnalyserNode::setSmoothingTimeConstant(float k, ExceptionState& exceptionState)
{
if (k >= 0 && k <= 1) {
m_analyser.setSmoothingTimeConstant(k);
} else {
- es.throwDOMException(
+ exceptionState.throwDOMException(
IndexSizeError,
ExceptionMessages::failedToSet(
"smoothingTimeConstant",
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | Source/modules/webaudio/AudioBasicInspectorNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698