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

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

Issue 1256053006: Protect AudioScheduledSoureNode::m_startTime and m_endTime. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use tryLock instead of atomic access Created 5 years, 3 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/OscillatorNode.h
diff --git a/Source/modules/webaudio/OscillatorNode.h b/Source/modules/webaudio/OscillatorNode.h
index 66a0497daffb30cbf8b6f688fba217adc2db3daf..d80f27dc84e8bbc7409c4146d7e1d00cbe016600 100644
--- a/Source/modules/webaudio/OscillatorNode.h
+++ b/Source/modules/webaudio/OscillatorNode.h
@@ -88,9 +88,6 @@ private:
// Since it's floating-point, it has sub-sample accuracy.
double m_virtualReadIndex;
- // This synchronizes process().
- mutable Mutex m_processLock;
-
// Stores sample-accurate values calculated according to frequency and detune.
AudioFloatArray m_phaseIncrements;
AudioFloatArray m_detuneValues;

Powered by Google App Engine
This is Rietveld 408576698