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

Unified Diff: third_party/WebKit/Source/platform/audio/DynamicsCompressorKernel.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/DynamicsCompressorKernel.h
diff --git a/third_party/WebKit/Source/platform/audio/DynamicsCompressorKernel.h b/third_party/WebKit/Source/platform/audio/DynamicsCompressorKernel.h
index 32da6256eec9e49bf73f955e4cec19ca64b594b1..e743edeaf5e7564e27019b63a96379e512ca7e41 100644
--- a/third_party/WebKit/Source/platform/audio/DynamicsCompressorKernel.h
+++ b/third_party/WebKit/Source/platform/audio/DynamicsCompressorKernel.h
@@ -33,7 +33,8 @@
#include "platform/audio/AudioArray.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -91,7 +92,7 @@ protected:
unsigned m_lastPreDelayFrames;
void setPreDelayTime(float);
- Vector<std::unique_ptr<AudioFloatArray>> m_preDelayBuffers;
+ Vector<OwnPtr<AudioFloatArray>> m_preDelayBuffers;
int m_preDelayReadIndex;
int m_preDelayWriteIndex;

Powered by Google App Engine
This is Rietveld 408576698