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

Unified Diff: third_party/WebKit/Source/platform/audio/ReverbConvolver.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/ReverbConvolver.h
diff --git a/third_party/WebKit/Source/platform/audio/ReverbConvolver.h b/third_party/WebKit/Source/platform/audio/ReverbConvolver.h
index 07b981b320b229bfa013b47d055ab2c92af81f62..5e61ee7743892ca93bfca3fad409db3461fb2833 100644
--- a/third_party/WebKit/Source/platform/audio/ReverbConvolver.h
+++ b/third_party/WebKit/Source/platform/audio/ReverbConvolver.h
@@ -36,8 +36,8 @@
#include "platform/audio/ReverbConvolverStage.h"
#include "platform/audio/ReverbInputBuffer.h"
#include "wtf/Allocator.h"
-#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -64,8 +64,8 @@ public:
private:
void processInBackground();
- Vector<OwnPtr<ReverbConvolverStage>> m_stages;
- Vector<OwnPtr<ReverbConvolverStage>> m_backgroundStages;
+ Vector<std::unique_ptr<ReverbConvolverStage>> m_stages;
+ Vector<std::unique_ptr<ReverbConvolverStage>> m_backgroundStages;
size_t m_impulseResponseLength;
ReverbAccumulationBuffer m_accumulationBuffer;
@@ -81,7 +81,7 @@ private:
size_t m_maxRealtimeFFTSize;
// Background thread and synchronization
- OwnPtr<WebThread> m_backgroundThread;
+ std::unique_ptr<WebThread> m_backgroundThread;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Reverb.cpp ('k') | third_party/WebKit/Source/platform/audio/ReverbConvolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698