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

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

Issue 270103005: Tried to move AudioSummingJuction to oilpan (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/webaudio/AudioDestinationNode.cpp ('k') | Source/modules/webaudio/AudioListener.idl » ('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 a2db467877e442ac057d264fd135de0a159f9907..214db390b700f960513c7b408f0d190be05c3f2e 100644
--- a/Source/modules/webaudio/AudioListener.h
+++ b/Source/modules/webaudio/AudioListener.h
@@ -31,6 +31,7 @@
#include "bindings/v8/ScriptWrappable.h"
#include "platform/geometry/FloatPoint3D.h"
+#include "platform/heap/Handle.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
@@ -41,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 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());
}
virtual ~AudioListener();
@@ -78,6 +79,8 @@ public:
void addPanner(PannerNode*);
void removePanner(PannerNode*);
+ void trace(Visitor*) { }
+
private:
AudioListener();
« no previous file with comments | « Source/modules/webaudio/AudioDestinationNode.cpp ('k') | Source/modules/webaudio/AudioListener.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698