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

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

Issue 438293003: Enable Oilpan by default for webaudio/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/webaudio/AudioNodeOutput.cpp ('k') | Source/modules/webaudio/AudioParam.idl » ('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 42bfb103524a127742ab2c6a0a6b2a76af56672a..b1e1b5921d8aa5b73f5383f88af2188b6988db2d 100644
--- a/Source/modules/webaudio/AudioParam.h
+++ b/Source/modules/webaudio/AudioParam.h
@@ -36,26 +36,20 @@
#include <sys/types.h>
#include "wtf/Float32Array.h"
#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace blink {
class AudioNodeOutput;
-#if ENABLE(OILPAN)
-#define AUDIO_PARAM_BASE_CLASSES public AudioSummingJunction, public ScriptWrappable
-#else
-#define AUDIO_PARAM_BASE_CLASSES public RefCounted<AudioParam>, public ScriptWrappable, public AudioSummingJunction
-#endif
-class AudioParam FINAL : AUDIO_PARAM_BASE_CLASSES {
+class AudioParam FINAL : public AudioSummingJunction, public ScriptWrappable {
public:
static const double DefaultSmoothingConstant;
static const double SnapThreshold;
- static PassRefPtrWillBeRawPtr<AudioParam> create(AudioContext* context, double defaultValue)
+ static AudioParam* create(AudioContext* context, double defaultValue)
{
- return adoptRefWillBeNoop(new AudioParam(context, defaultValue));
+ return new AudioParam(context, defaultValue);
}
// AudioSummingJunction
« no previous file with comments | « Source/modules/webaudio/AudioNodeOutput.cpp ('k') | Source/modules/webaudio/AudioParam.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698