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

Unified Diff: third_party/WebKit/Source/modules/webaudio/BiquadProcessor.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/modules/webaudio/BiquadProcessor.h
diff --git a/third_party/WebKit/Source/modules/webaudio/BiquadProcessor.h b/third_party/WebKit/Source/modules/webaudio/BiquadProcessor.h
index c9d29e2fbd274d4b539b2e1acb98b13ab98e7e50..13fe5bb28007eb00d5aede4b30a22f5e489b8555 100644
--- a/third_party/WebKit/Source/modules/webaudio/BiquadProcessor.h
+++ b/third_party/WebKit/Source/modules/webaudio/BiquadProcessor.h
@@ -31,6 +31,7 @@
#include "platform/audio/AudioDSPKernelProcessor.h"
#include "platform/audio/Biquad.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -53,7 +54,7 @@ public:
BiquadProcessor(float sampleRate, size_t numberOfChannels, AudioParamHandler& frequency, AudioParamHandler& q, AudioParamHandler& gain, AudioParamHandler& detune);
~BiquadProcessor() override;
- PassOwnPtr<AudioDSPKernel> createKernel() override;
+ std::unique_ptr<AudioDSPKernel> createKernel() override;
void process(const AudioBus* source, AudioBus* destination, size_t framesToProcess) override;

Powered by Google App Engine
This is Rietveld 408576698