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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 2b63088067b4bfd42e63e1b0e08496bee6a330fb..bf8ec64e0df305027dde98a880216f757f247a7f 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
@@ -34,6 +34,7 @@
#include "wtf/HashMap.h"
#include "wtf/RefCounted.h"
#include "wtf/ThreadingPrimitives.h"
+#include <memory>
namespace blink {
@@ -76,9 +77,9 @@ private:
// Holding a m_lock is required when accessing m_hrtfDatabase since we access it from multiple threads.
Mutex m_lock;
- OwnPtr<HRTFDatabase> m_hrtfDatabase;
+ std::unique_ptr<HRTFDatabase> m_hrtfDatabase;
- OwnPtr<WebThread> m_thread;
+ std::unique_ptr<WebThread> m_thread;
float m_databaseSampleRate;
};

Powered by Google App Engine
This is Rietveld 408576698