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

Unified Diff: third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.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/modules/webaudio/RealtimeAnalyser.h
diff --git a/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.h b/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.h
index 6d61f94a6cdec8ca7ee821246122bf189867e99f..2b27a00c42ffedded38d5215f56d415ee98f5847 100644
--- a/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.h
+++ b/third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.h
@@ -29,7 +29,7 @@
#include "platform/audio/AudioArray.h"
#include "platform/audio/FFTFrame.h"
#include "wtf/Noncopyable.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -81,7 +81,7 @@ private:
RefPtr<AudioBus> m_downMixBus;
size_t m_fftSize;
- std::unique_ptr<FFTFrame> m_analysisFrame;
+ OwnPtr<FFTFrame> m_analysisFrame;
void doFFTAnalysis();
// Convert the contents of magnitudeBuffer to byte values, saving the result in |destination|.

Powered by Google App Engine
This is Rietveld 408576698