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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl

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/OscillatorNode.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl
index 0440252f55afb9a5d95652d699d10d05b449428f..b1ed823ce92d376c6f273645996f1e2fda53b441 100644
--- a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl
+++ b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl
@@ -38,8 +38,8 @@ interface OscillatorNode : AudioSourceNode {
readonly attribute AudioParam frequency; // in Hertz
readonly attribute AudioParam detune; // in Cents
- [RaisesException] void start(optional double when);
- [RaisesException] void stop(optional double when);
+ [RaisesException, ImplementedAs=startNode] void start(optional double when);
+ [RaisesException, ImplementedAs=stopNode] void stop(optional double when);
void setPeriodicWave(PeriodicWave periodicWave);

Powered by Google App Engine
This is Rietveld 408576698