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

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

Issue 386403002: WebAudio: Split AudioNode::finishDeref into two parts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/AudioNode.h
diff --git a/Source/modules/webaudio/AudioNode.h b/Source/modules/webaudio/AudioNode.h
index d49f8faa45d4e3f15a7f429e300b847c61bfa70f..0ae7839e801d2fad18a734bbba9119efd855baaa 100644
--- a/Source/modules/webaudio/AudioNode.h
+++ b/Source/modules/webaudio/AudioNode.h
@@ -108,6 +108,7 @@ public:
// Can be called from main thread or context's audio thread. It must be called while the context's graph lock is held.
void finishDeref();
+ void breakConnectionWithLock();
// The AudioNodeInput(s) (if any) will already have their input data available when process() is called.
// Subclasses will take this input data and put the results in the AudioBus(s) of its AudioNodeOutput(s) (if any).
@@ -229,7 +230,6 @@ private:
// Ref-counting
volatile int m_normalRefCount;
volatile int m_connectionRefCount;
- bool m_wasDisconnected;
bool m_isMarkedForDeletion;
bool m_isDisabled;

Powered by Google App Engine
This is Rietveld 408576698