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

Unified Diff: third_party/WebKit/Source/modules/webaudio/PannerNode.h

Issue 2512793003: Throw RangeError for invalid refDistance/maxDistance (Closed)
Patch Set: Rebase Created 4 years 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/PannerNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.h b/third_party/WebKit/Source/modules/webaudio/PannerNode.h
index 90eb184eba2b1d18481efb085daaa14734ca6c90..d6c27c98da281cf1b8585f72424fae50505a2a0e 100644
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.h
@@ -233,9 +233,9 @@ class PannerNode final : public AudioNode {
String distanceModel() const;
void setDistanceModel(const String&);
double refDistance() const;
- void setRefDistance(double);
+ void setRefDistance(double, ExceptionState&);
double maxDistance() const;
- void setMaxDistance(double);
+ void setMaxDistance(double, ExceptionState&);
double rolloffFactor() const;
void setRolloffFactor(double);
double coneInnerAngle() const;

Powered by Google App Engine
This is Rietveld 408576698