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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioResampler.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/AudioResampler.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioResampler.h b/third_party/WebKit/Source/platform/audio/AudioResampler.h
index 5fc4636cc1823b62fdf6959feef3c5edafd6753d..1f6298ca088513b374053847ce81e1b281784c2d 100644
--- a/third_party/WebKit/Source/platform/audio/AudioResampler.h
+++ b/third_party/WebKit/Source/platform/audio/AudioResampler.h
@@ -30,8 +30,8 @@
#include "platform/audio/AudioSourceProvider.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -63,7 +63,7 @@ public:
private:
double m_rate;
- Vector<OwnPtr<AudioResamplerKernel>> m_kernels;
+ Vector<std::unique_ptr<AudioResamplerKernel>> m_kernels;
RefPtr<AudioBus> m_sourceBus;
};

Powered by Google App Engine
This is Rietveld 408576698