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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months 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: third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
index 3e3e9e79c715dea4bd1c91717a440aaca9d88abe..352f3dd7443d0391d9c16a2a13789c1897951ce1 100644
--- a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
@@ -98,8 +98,9 @@ void AnalyserHandler::setMinDecibels(double k, ExceptionState& exceptionState) {
m_analyser.setMinDecibels(k);
} else {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMaximumBound(
- "minDecibels", k, maxDecibels()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMaximumBound("minDecibels", k,
+ maxDecibels()));
}
}
@@ -108,8 +109,9 @@ void AnalyserHandler::setMaxDecibels(double k, ExceptionState& exceptionState) {
m_analyser.setMaxDecibels(k);
} else {
exceptionState.throwDOMException(
- IndexSizeError, ExceptionMessages::indexExceedsMinimumBound(
- "maxDecibels", k, minDecibels()));
+ IndexSizeError,
+ ExceptionMessages::indexExceedsMinimumBound("maxDecibels", k,
+ minDecibels()));
}
}
@@ -118,9 +120,10 @@ void AnalyserHandler::setMinMaxDecibels(double minDecibels,
ExceptionState& exceptionState) {
if (minDecibels >= maxDecibels) {
exceptionState.throwDOMException(
- IndexSizeError, "maxDecibels (" + String::number(maxDecibels) +
- ") must be greater than or equal to minDecibels " +
- "( " + String::number(minDecibels) + ").");
+ IndexSizeError,
+ "maxDecibels (" + String::number(maxDecibels) +
+ ") must be greater than or equal to minDecibels " + "( " +
+ String::number(minDecibels) + ").");
return;
}
m_analyser.setMinDecibels(minDecibels);
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRDisplay.cpp ('k') | third_party/WebKit/Source/modules/webaudio/AudioBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698