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

Unified Diff: third_party/WebKit/Source/platform/audio/Spatializer.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/Spatializer.h
diff --git a/third_party/WebKit/Source/platform/audio/Spatializer.h b/third_party/WebKit/Source/platform/audio/Spatializer.h
index 9da000bf929b5c010b9cb8456e1a8f11e452bc34..a4629a507dfab930a8e67ffbba9e1ea6ef8eda58 100644
--- a/third_party/WebKit/Source/platform/audio/Spatializer.h
+++ b/third_party/WebKit/Source/platform/audio/Spatializer.h
@@ -8,7 +8,7 @@
#include "platform/PlatformExport.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -28,7 +28,7 @@ public:
typedef unsigned PanningModel;
- static PassOwnPtr<Spatializer> create(PanningModel, float sampleRate);
+ static std::unique_ptr<Spatializer> create(PanningModel, float sampleRate);
virtual ~Spatializer();
// Handle sample-accurate panning by AudioParam automation.

Powered by Google App Engine
This is Rietveld 408576698