Index: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp |
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp |
index b333f8ad5ed7a5d5b9f82fff398b62e58bf64663..a66c5f21ff181cc3eb7c4a8e8ca86346f42aebe4 100644 |
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp |
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp |
@@ -99,8 +99,9 @@ void HRTFDatabaseLoader::loadAsynchronously() { |
Platform::current()->createThread("HRTF database loader")); |
// TODO(alexclarke): Should this be posted as a loading task? |
m_thread->getWebTaskRunner()->postTask( |
- BLINK_FROM_HERE, crossThreadBind(&HRTFDatabaseLoader::loadTask, |
- crossThreadUnretained(this))); |
+ BLINK_FROM_HERE, |
+ crossThreadBind(&HRTFDatabaseLoader::loadTask, |
+ crossThreadUnretained(this))); |
} |
HRTFDatabase* HRTFDatabaseLoader::database() { |
@@ -129,9 +130,10 @@ void HRTFDatabaseLoader::waitForLoaderThreadCompletion() { |
WaitableEvent sync; |
// TODO(alexclarke): Should this be posted as a loading task? |
m_thread->getWebTaskRunner()->postTask( |
- BLINK_FROM_HERE, crossThreadBind(&HRTFDatabaseLoader::cleanupTask, |
- crossThreadUnretained(this), |
- crossThreadUnretained(&sync))); |
+ BLINK_FROM_HERE, |
+ crossThreadBind(&HRTFDatabaseLoader::cleanupTask, |
+ crossThreadUnretained(this), |
+ crossThreadUnretained(&sync))); |
sync.wait(); |
m_thread.reset(); |
} |