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

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

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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: Source/modules/webaudio/WaveShaperNode.cpp
diff --git a/Source/modules/webaudio/WaveShaperNode.cpp b/Source/modules/webaudio/WaveShaperNode.cpp
index ea3a9cecb1ebcf1f03e9bdcc6b49a7993e034911..0c48f0ff28b4a6f2ad7d22b5022dca86ca0a737a 100644
--- a/Source/modules/webaudio/WaveShaperNode.cpp
+++ b/Source/modules/webaudio/WaveShaperNode.cpp
@@ -63,7 +63,7 @@ void WaveShaperNode::setOversample(const String& type, ExceptionCode& ec)
else if (type == "4x")
waveShaperProcessor()->setOversample(WaveShaperProcessor::OverSample4x);
else
- ec = INVALID_STATE_ERR;
+ ec = InvalidStateError;
}
String WaveShaperNode::oversample() const
« no previous file with comments | « Source/modules/webaudio/OfflineAudioContext.cpp ('k') | Source/modules/webdatabase/DOMWindowWebDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698