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

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

Issue 1952793002: Move the exception logic to the AudioNode creator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 7 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/PannerNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.h b/third_party/WebKit/Source/modules/webaudio/PannerNode.h
index 56d632d253103e910d26ef7e68f315a70609b483..7cd9956cfdf3143748bd72e2ea15d76795d1ef49 100644
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.h
@@ -206,7 +206,7 @@ private:
class PannerNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static PannerNode* create(AbstractAudioContext&, float sampleRate);
+ static PannerNode* create(AbstractAudioContext&, ExceptionState&);
PannerHandler& pannerHandler() const;
DECLARE_VIRTUAL_TRACE();
@@ -241,7 +241,7 @@ public:
void setConeOuterGain(double);
private:
- PannerNode(AbstractAudioContext&, float sampleRate);
+ PannerNode(AbstractAudioContext&);
Member<AudioParam> m_positionX;
Member<AudioParam> m_positionY;

Powered by Google App Engine
This is Rietveld 408576698