summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp')
-rw-r--r--Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp b/Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
index cb7355aa8..8f96c9694 100644
--- a/Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
+++ b/Source/WebCore/platform/audio/HRTFDatabaseLoader.cpp
@@ -80,13 +80,11 @@ HRTFDatabaseLoader::~HRTFDatabaseLoader()
// Asynchronously load the database in this thread.
-static void* databaseLoaderEntry(void* threadData)
+static void databaseLoaderEntry(void* threadData)
{
HRTFDatabaseLoader* loader = reinterpret_cast<HRTFDatabaseLoader*>(threadData);
ASSERT(loader);
loader->load();
-
- return 0;
}
void HRTFDatabaseLoader::load()
@@ -121,7 +119,7 @@ void HRTFDatabaseLoader::waitForLoaderThreadCompletion()
// waitForThreadCompletion() should not be called twice for the same thread.
if (m_databaseLoaderThread)
- waitForThreadCompletion(m_databaseLoaderThread, 0);
+ waitForThreadCompletion(m_databaseLoaderThread);
m_databaseLoaderThread = 0;
}