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

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

Issue 1593763002: Keep AudioSourceNode from premature GC with ScriptWrappable::hasPendingActivity() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify changes (-AbstractAudioContext) Created 4 years, 10 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/AudioBufferSourceNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
index d1c085e03aa5568e57338d646041fd6de2bffa44..07ca4190b5ffe8d8508c6f601b1587e54177efb6 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.h
@@ -175,10 +175,10 @@ public:
double loopEnd() const;
void setLoopEnd(double);
- void start(ExceptionState&);
- void start(double when, ExceptionState&);
- void start(double when, double grainOffset, ExceptionState&);
- void start(double when, double grainOffset, double grainDuration, ExceptionState&);
+ void startNode(ExceptionState&);
+ void startNode(double when, ExceptionState&);
+ void startNode(double when, double grainOffset, ExceptionState&);
+ void startNode(double when, double grainOffset, double grainDuration, ExceptionState&);
private:
AudioBufferSourceNode(AbstractAudioContext&, float sampleRate);

Powered by Google App Engine
This is Rietveld 408576698