Index: content/renderer/media/webrtc_audio_device_impl.h |
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h |
index e235320889ce909c7a273100fef3235e319731e4..0368a90d49636160c40c409ff37242052c1e5f65 100644 |
--- a/content/renderer/media/webrtc_audio_device_impl.h |
+++ b/content/renderer/media/webrtc_audio_device_impl.h |
@@ -167,7 +167,9 @@ |
// most methods are called on the same thread. However, some methods are |
// also called on a Libjingle worker thread. RenderData is called on the |
// AudioOutputDevice thread and CaptureData on the AudioInputDevice thread. |
-// To summarize: this class lives on four different threads. |
+// To summarize: this class lives on four different threads, so it is |
+// important to be careful with the order in which locks are acquired in |
+// order to avoid potential deadlocks. |
// - The webrtc::AudioDeviceModule is reference counted. |
// - AGC is only supported in combination with the WASAPI-based audio layer |
// on Windows, i.e., it is not supported on Windows XP. |