| Index: Source/modules/webaudio/AudioListener.h
|
| diff --git a/Source/modules/webaudio/AudioListener.h b/Source/modules/webaudio/AudioListener.h
|
| index dcd68dd42ba6717ec150bdcbfbc2a2d063219e7f..30c6c2c5a212e510d277ab37fe921496038c9741 100644
|
| --- a/Source/modules/webaudio/AudioListener.h
|
| +++ b/Source/modules/webaudio/AudioListener.h
|
| @@ -30,6 +30,7 @@
|
| #define AudioListener_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| +#include "heap/Handle.h"
|
| #include "platform/geometry/FloatPoint3D.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -38,11 +39,11 @@ namespace WebCore {
|
|
|
| // AudioListener maintains the state of the listener in the audio scene as defined in the OpenAL specification.
|
|
|
| -class AudioListener : public ScriptWrappable, public RefCounted<AudioListener> {
|
| +class AudioListener : public RefCountedWillBeGarbageCollectedFinalized<AudioListener>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<AudioListener> create()
|
| + static PassRefPtrWillBeRawPtr<AudioListener> create()
|
| {
|
| - return adoptRef(new AudioListener());
|
| + return adoptRefWillBeNoop(new AudioListener());
|
| }
|
|
|
| // Position
|
| @@ -76,6 +77,8 @@ public:
|
| void setSpeedOfSound(double speedOfSound) { m_speedOfSound = speedOfSound; }
|
| double speedOfSound() const { return m_speedOfSound; }
|
|
|
| + void trace(Visitor*) { }
|
| +
|
| private:
|
| AudioListener();
|
|
|
|
|