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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/MultiChannelResampler.h
diff --git a/third_party/WebKit/Source/platform/audio/MultiChannelResampler.h b/third_party/WebKit/Source/platform/audio/MultiChannelResampler.h
index 33f02b21ad94f1b2a4968de7ede2cbe82d61170a..2888e08c62ba3b27561aee88f6d4ca87a4d6c6cc 100644
--- a/third_party/WebKit/Source/platform/audio/MultiChannelResampler.h
+++ b/third_party/WebKit/Source/platform/audio/MultiChannelResampler.h
@@ -32,7 +32,7 @@
#include "platform/audio/SincResampler.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -53,7 +53,7 @@ private:
// https://bugs.webkit.org/show_bug.cgi?id=75118
// Each channel will be resampled using a high-quality SincResampler.
- Vector<std::unique_ptr<SincResampler>> m_kernels;
+ Vector<OwnPtr<SincResampler>> m_kernels;
unsigned m_numberOfChannels;
};

Powered by Google App Engine
This is Rietveld 408576698