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

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

Issue 24469004: Amusingly deprecate the generic version of 'ExceptionState::throwDOMException'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 d2791a6dd77220171d45a2ef3fe46f7bc2d5e2a0..c4d4c9bb1d2f3763a94c77a8217ca54dbb718994 100644
--- a/Source/modules/webaudio/WaveShaperNode.cpp
+++ b/Source/modules/webaudio/WaveShaperNode.cpp
@@ -71,7 +71,7 @@ void WaveShaperNode::setOversample(const String& type, ExceptionState& es)
else if (type == "4x")
waveShaperProcessor()->setOversample(WaveShaperProcessor::OverSample4x);
else
- es.throwDOMException(InvalidStateError);
+ es.throwUninformativeAndGenericDOMException(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