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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h

Issue 2001533002: Clear DeferredTaskHandler's audio thread ID upon the thread going away. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: 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 7762706091e77c58fa7dd831b37512707bfe1b21..3e66d8338fa9460bbd271ade080407aabc06092d 100644
--- a/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
+++ b/third_party/WebKit/Source/modules/webaudio/DeferredTaskHandler.h
@@ -101,6 +101,7 @@ public:
//
void setAudioThreadToCurrentThread();
ThreadIdentifier audioThread() const { return acquireLoad(&m_audioThread); }
+ void clearAudioThread();
// TODO(hongchan): Use no-barrier load here. (crbug.com/247328)
//

Powered by Google App Engine
This is Rietveld 408576698