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

Unified Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.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/StereoPannerNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
index 16283e62c584fc34d3d582fc519dea200824d255..32f1d9b10920b3b01eeb4dba719b6ae48e378702 100644
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
@@ -42,13 +42,13 @@ private:
class StereoPannerNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static StereoPannerNode* create(AbstractAudioContext&, float sampleRate);
+ static StereoPannerNode* create(AbstractAudioContext&, ExceptionState&);
DECLARE_VIRTUAL_TRACE();
AudioParam* pan() const;
private:
- StereoPannerNode(AbstractAudioContext&, float sampleRate);
+ StereoPannerNode(AbstractAudioContext&);
Member<AudioParam> m_pan;
};

Powered by Google App Engine
This is Rietveld 408576698