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

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

Issue 1878253003: Allow explicit conversion operators and implement WTF::OwnPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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.cpp
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
index 70d073f33e205dcacdde491037e25fb2bf2d5ce7..aa39a07387af290b767c8f7bf98c9c5f9eb8e9e0 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
@@ -101,7 +101,7 @@ void HRTFDatabaseLoader::loadAsynchronously()
bool HRTFDatabaseLoader::isLoaded()
{
MutexLocker locker(m_lock);
- return m_hrtfDatabase;
+ return m_hrtfDatabase.get();
}
// This cleanup task is needed just to make sure that the loader thread finishes

Powered by Google App Engine
This is Rietveld 408576698