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

Unified Diff: Source/platform/audio/HRTFDatabaseLoader.h

Issue 711323002: Oilpan: Don't destruct HRTFDatabaseLoader::m_thread during a sweeping phase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/modules/webaudio/AudioListener.cpp ('k') | Source/platform/audio/HRTFDatabaseLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/HRTFDatabaseLoader.h
diff --git a/Source/platform/audio/HRTFDatabaseLoader.h b/Source/platform/audio/HRTFDatabaseLoader.h
index 74408b2cf76efdf53acb8ca1eae4dffafdcbe8b1..4b7fffa7913f54f0d7aa740ad743afa61dd8b898 100644
--- a/Source/platform/audio/HRTFDatabaseLoader.h
+++ b/Source/platform/audio/HRTFDatabaseLoader.h
@@ -37,6 +37,8 @@
namespace blink {
+class TaskSynchronizer;
+
// HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new thread.
class PLATFORM_EXPORT HRTFDatabaseLoader final : public GarbageCollectedFinalized<HRTFDatabaseLoader> {
@@ -61,7 +63,9 @@ public:
float databaseSampleRate() const { return m_databaseSampleRate; }
// Called in asynchronous loading thread.
- void load();
+ void loadTask();
+
+ void cleanupTask(TaskSynchronizer*);
sof 2014/11/11 12:05:30 Can we make this private?
haraken 2014/11/11 14:25:41 Done.
void trace(Visitor*) { }
« no previous file with comments | « Source/modules/webaudio/AudioListener.cpp ('k') | Source/platform/audio/HRTFDatabaseLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698