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

Unified Diff: Source/modules/webaudio/AudioSummingJunction.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
Index: Source/modules/webaudio/AudioSummingJunction.h
diff --git a/Source/modules/webaudio/AudioSummingJunction.h b/Source/modules/webaudio/AudioSummingJunction.h
index e4db9907e55d2428fb6aa0a18740782e7be48db0..bd66634ae24f859b7e5bc01fdf37b1e82b316933 100644
--- a/Source/modules/webaudio/AudioSummingJunction.h
+++ b/Source/modules/webaudio/AudioSummingJunction.h
@@ -37,7 +37,7 @@ class AudioNodeOutput;
// An AudioSummingJunction represents a point where zero, one, or more AudioNodeOutputs connect.
-class AudioSummingJunction : public NoBaseWillBeGarbageCollectedFinalized<AudioSummingJunction> {
+class AudioSummingJunction : public GarbageCollectedFinalized<AudioSummingJunction> {
public:
virtual ~AudioSummingJunction();
virtual void trace(Visitor*);
@@ -63,12 +63,13 @@ public:
protected:
explicit AudioSummingJunction(AudioContext*);
- RefPtrWillBeMember<AudioContext> m_context;
+ Member<AudioContext> m_context;
// m_outputs contains the AudioNodeOutputs representing current connections which are not disabled.
// The rendering code should never use this directly, but instead uses m_renderingOutputs.
// Oilpan: Since items are added to the hash set by the audio thread (not registered to Oilpan),
// we cannot use a HeapHashSet.
+ GC_PLUGIN_IGNORE("http://crbug.com/404527")
HashSet<AudioNodeOutput*> m_outputs;
// m_renderingOutputs is a copy of m_outputs which will never be modified during the graph rendering on the audio thread.
@@ -77,6 +78,7 @@ protected:
// Most of the time, m_renderingOutputs is identical to m_outputs.
// Oilpan: Since items are added to the vector by the audio thread (not registered to Oilpan),
// we cannot use a HeapVector.
+ GC_PLUGIN_IGNORE("http://crbug.com/404527")
Vector<AudioNodeOutput*> m_renderingOutputs;
// m_renderingStateNeedUpdating keeps track if m_outputs is modified.
« no previous file with comments | « Source/modules/webaudio/AudioScheduledSourceNode.cpp ('k') | Source/modules/webaudio/AudioSummingJunction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698