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

Unified Diff: Source/modules/webaudio/AudioListener.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/AudioContext.idl ('k') | Source/modules/webaudio/AudioListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioListener.h
diff --git a/Source/modules/webaudio/AudioListener.h b/Source/modules/webaudio/AudioListener.h
index 6dbc92d0cab8275bccfd4fa6b4584d4ceced9231..4cb26cdb69d13c97120ce0b24518c2df59d1a8cd 100644
--- a/Source/modules/webaudio/AudioListener.h
+++ b/Source/modules/webaudio/AudioListener.h
@@ -33,7 +33,6 @@
#include "platform/geometry/FloatPoint3D.h"
#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
namespace blink {
@@ -43,11 +42,11 @@ class PannerNode;
// AudioListener maintains the state of the listener in the audio scene as defined in the OpenAL specification.
-class AudioListener : public RefCountedWillBeGarbageCollectedFinalized<AudioListener>, public ScriptWrappable {
+class AudioListener : public GarbageCollectedFinalized<AudioListener>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<AudioListener> create()
+ static AudioListener* create()
{
- return adoptRefWillBeNoop(new AudioListener());
+ return new AudioListener();
}
virtual ~AudioListener();
@@ -109,7 +108,7 @@ private:
mutable Mutex m_listenerLock;
// List for pannerNodes in context. This is updated only in the main thread,
// and can be referred in audio thread.
- WillBeHeapVector<RawPtrWillBeMember<PannerNode> > m_panners;
+ HeapVector<Member<PannerNode> > m_panners;
// HRTF DB loader for panner node.
RefPtr<HRTFDatabaseLoader> m_hrtfDatabaseLoader;
};
« no previous file with comments | « Source/modules/webaudio/AudioContext.idl ('k') | Source/modules/webaudio/AudioListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698