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

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

Issue 776203002: Web Audio: Oilpan: Correctly trace m_referencedNodes elements within a lock. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: else trace Created 6 years 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 | « no previous file | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioContext.h
diff --git a/Source/modules/webaudio/AudioContext.h b/Source/modules/webaudio/AudioContext.h
index 4ce5c232b9851c55acb611b78d09b0acacea1e68..e777ae25ad341e72afb12f58fc64b71581aeaece 100644
--- a/Source/modules/webaudio/AudioContext.h
+++ b/Source/modules/webaudio/AudioContext.h
@@ -298,7 +298,7 @@ private:
// Oilpan: This Vector holds connection references. We must call
// AudioNode::makeConnection when we add an AudioNode to this, and must call
// AudioNode::breakConnection() when we remove an AudioNode from this.
- Member<HeapVector<Member<AudioNode>>> m_referencedNodes;
+ HeapVector<Member<AudioNode>> m_referencedNodes;
// Stop rendering the audio graph.
void stopRendering();
@@ -373,6 +373,7 @@ private:
unsigned m_connectionCount;
// Graph locking.
+ bool m_didInitializeContextGraphMutex;
RecursiveMutex m_contextGraphMutex;
volatile ThreadIdentifier m_audioThread;
« no previous file with comments | « no previous file | Source/modules/webaudio/AudioContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698