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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.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/DynamicsCompressorNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.h b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.h
index 6eb63ca7555f8e84eaf1c2e27aa8a8d07da41378..27e2201005da748cd15016ff2a42fc58db93d0d3 100644
--- a/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/DynamicsCompressorNode.h
@@ -29,7 +29,7 @@
#include "modules/ModulesExport.h"
#include "modules/webaudio/AudioNode.h"
#include "modules/webaudio/AudioParam.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -67,7 +67,7 @@ private:
double tailTime() const override;
double latencyTime() const override;
- OwnPtr<DynamicsCompressor> m_dynamicsCompressor;
+ std::unique_ptr<DynamicsCompressor> m_dynamicsCompressor;
RefPtr<AudioParamHandler> m_threshold;
RefPtr<AudioParamHandler> m_knee;
RefPtr<AudioParamHandler> m_ratio;

Powered by Google App Engine
This is Rietveld 408576698