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

Unified Diff: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.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/StereoPannerNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
index 4837c43fec34edb4c011b29565c98267c4d71f73..32f1d9b10920b3b01eeb4dba719b6ae48e378702 100644
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.h
@@ -10,7 +10,6 @@
#include "modules/webaudio/AudioParam.h"
#include "platform/audio/AudioBus.h"
#include "platform/audio/Spatializer.h"
-#include <memory>
namespace blink {
@@ -32,7 +31,7 @@ public:
private:
StereoPannerHandler(AudioNode&, float sampleRate, AudioParamHandler& pan);
- std::unique_ptr<Spatializer> m_stereoPanner;
+ OwnPtr<Spatializer> m_stereoPanner;
RefPtr<AudioParamHandler> m_pan;
AudioFloatArray m_sampleAccuratePanValues;

Powered by Google App Engine
This is Rietveld 408576698