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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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/AudioScheduledSourceNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
index ff5f9ef4f16bdcf302e66df6fdca0fffa27699d9..4be86da99264e3945411e72cc2ea0f91194252c4 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h
@@ -29,6 +29,7 @@
#ifndef AudioScheduledSourceNode_h
#define AudioScheduledSourceNode_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "modules/webaudio/AudioSourceNode.h"
namespace blink {
@@ -120,7 +121,7 @@ private:
int m_playbackState;
};
-class AudioScheduledSourceNode : public AudioSourceNode {
+class AudioScheduledSourceNode : public AudioSourceNode, public ActiveScriptWrappable {
public:
void start(ExceptionState&);
void start(double when, ExceptionState&);
@@ -130,7 +131,7 @@ public:
EventListener* onended();
void setOnended(PassRefPtrWillBeRawPtr<EventListener>);
- // ScriptWrappable
+ // ActiveScriptWrappable
bool hasPendingActivity() const final;
protected:

Powered by Google App Engine
This is Rietveld 408576698