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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DelayNode.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/DelayNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/DelayNode.h b/third_party/WebKit/Source/modules/webaudio/DelayNode.h
index 03d01889136b2ab82fad2c38bb9068f789b1beb9..a697871a2e48ba4d3f71552a3a09442fdfbd45e6 100644
--- a/third_party/WebKit/Source/modules/webaudio/DelayNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/DelayNode.h
@@ -35,12 +35,13 @@ class ExceptionState;
class DelayNode final : public AudioNode {
DEFINE_WRAPPERTYPEINFO();
public:
- static DelayNode* create(AbstractAudioContext&, float sampleRate, double maxDelayTime, ExceptionState&);
+ static DelayNode* create(AbstractAudioContext&, ExceptionState&);
+ static DelayNode* create(AbstractAudioContext&, double maxDelayTime, ExceptionState&);
DECLARE_VIRTUAL_TRACE();
AudioParam* delayTime();
private:
- DelayNode(AbstractAudioContext&, float sampleRate, double maxDelayTime);
+ DelayNode(AbstractAudioContext&, double maxDelayTime);
Member<AudioParam> m_delayTime;
};
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp ('k') | third_party/WebKit/Source/modules/webaudio/DelayNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698