Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h |
| diff --git a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h |
| index b145642b82ea96eb3bd9de6e5d1ab3f3de8955c8..afb2e5921cdb03792ad712ece1f12474ed807d40 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h |
| +++ b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h |
| @@ -110,6 +110,11 @@ public: |
| void lock(); |
| bool tryLock(); |
| void unlock(); |
| + |
| + // This locks the audio render thread for OfflineAudioContext rendering. |
| + // CANNOT be used in the real-time audio context. |
|
Raymond Toy
2015/10/16 23:32:36
CANNOT -> MUST NOT.
hongchan
2015/10/19 20:08:12
Done.
|
| + void offlineLock(); |
| + |
| #if ENABLE(ASSERT) |
| // Returns true if this thread owns the context's lock. |
| bool isGraphOwner(); |