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

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

Issue 2288973002: Merge TaskSynchronizer into WaitableEvent. (Closed)
Patch Set: Created 4 years, 4 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/platform/audio/HRTFDatabaseLoader.h
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
index 8de2595bf1ca3d1959d7db89d37bb7a8e24954d2..f587a757d8e1b952b20cfc760dbf50dc920c7c82 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
@@ -38,10 +38,9 @@
namespace blink {
-class TaskSynchronizer;
+class WaitableEvent;
// HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new thread.
-
class PLATFORM_EXPORT HRTFDatabaseLoader final : public RefCounted<HRTFDatabaseLoader> {
public:
// Lazily creates a HRTFDatabaseLoader (if not already created) for the given sample-rate
@@ -76,7 +75,7 @@ private:
// Called in asynchronous loading thread.
void loadTask();
- void cleanupTask(TaskSynchronizer*);
+ void cleanupTask(WaitableEvent*);
// Holding a m_lock is required when accessing m_hrtfDatabase since we access it from multiple threads.
Mutex m_lock;
« no previous file with comments | « third_party/WebKit/Source/platform/WaitableEvent.cpp ('k') | third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698