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

Unified Diff: third_party/WebKit/Source/platform/audio/DynamicsCompressor.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/DynamicsCompressor.h
diff --git a/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h b/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h
index a27ec22f98dfbce27041d10e570046110e5efbda..b799cad1097cae1704e21e5ce6e72b71aa7a54da 100644
--- a/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h
+++ b/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h
@@ -34,7 +34,7 @@
#include "platform/audio/ZeroPole.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -98,8 +98,8 @@ protected:
float m_lastAnchor;
float m_lastFilterStageGain;
- OwnPtr<const float*[]> m_sourceChannels;
- OwnPtr<float*[]> m_destinationChannels;
+ std::unique_ptr<const float*[]> m_sourceChannels;
+ std::unique_ptr<float*[]> m_destinationChannels;
// The core compressor.
DynamicsCompressorKernel m_compressor;

Powered by Google App Engine
This is Rietveld 408576698