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

Unified Diff: Source/modules/webaudio/AudioParam.h

Issue 15232002: Make remaining modules/ objects ScriptWrappable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/modules/quota/StorageQuota.cpp ('k') | Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioParam.h
diff --git a/Source/modules/webaudio/AudioParam.h b/Source/modules/webaudio/AudioParam.h
index 233bebf200bdb84084dfd528a49b0ac4792865da..054752f4df6e68664eb2d09b37e7c557fe257eb5 100644
--- a/Source/modules/webaudio/AudioParam.h
+++ b/Source/modules/webaudio/AudioParam.h
@@ -29,6 +29,7 @@
#ifndef AudioParam_h
#define AudioParam_h
+#include "bindings/v8/ScriptWrappable.h"
#include "modules/webaudio/AudioContext.h"
#include "modules/webaudio/AudioParamTimeline.h"
#include "modules/webaudio/AudioSummingJunction.h"
@@ -42,7 +43,7 @@ namespace WebCore {
class AudioNodeOutput;
-class AudioParam : public AudioSummingJunction, public RefCounted<AudioParam> {
+class AudioParam : public RefCounted<AudioParam>, public ScriptWrappable, public AudioSummingJunction {
public:
static const double DefaultSmoothingConstant;
static const double SnapThreshold;
@@ -114,6 +115,7 @@ protected:
, m_smoothedValue(defaultValue)
, m_smoothingConstant(DefaultSmoothingConstant)
{
+ ScriptWrappable::init(this);
}
private:
« no previous file with comments | « Source/modules/quota/StorageQuota.cpp ('k') | Source/modules/webmidi/MIDIInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698