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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNode.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/AudioNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.h b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
index 15a3bd525f94a1b59612bbe99836ed1823a3c0f4..9d7fda8145f750000468f0b18a9ddcd29524e1f8 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.h
@@ -29,12 +29,11 @@
#include "modules/ModulesExport.h"
#include "platform/audio/AudioBus.h"
#include "wtf/Forward.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/RefPtr.h"
#include "wtf/ThreadSafeRefCounted.h"
#include "wtf/Vector.h"
#include "wtf/build_config.h"
+#include <memory>
#define DEBUG_AUDIONODE_REFERENCES 0
@@ -252,8 +251,8 @@ private:
UntracedMember<AbstractAudioContext> m_context;
float m_sampleRate;
- Vector<OwnPtr<AudioNodeInput>> m_inputs;
- Vector<OwnPtr<AudioNodeOutput>> m_outputs;
+ Vector<std::unique_ptr<AudioNodeInput>> m_inputs;
+ Vector<std::unique_ptr<AudioNodeOutput>> m_outputs;
double m_lastProcessingTime;
double m_lastNonSilentTime;

Powered by Google App Engine
This is Rietveld 408576698