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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.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/AudioNodeOutput.h
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h
index ebddbff9c6281edaf9587d780d02dd4a8b59a1e2..8fe931c39362265982d0ff5af8cc2cd544a2eb65 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.h
@@ -30,6 +30,7 @@
#include "platform/audio/AudioBus.h"
#include "wtf/HashSet.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -42,7 +43,7 @@ class AudioNodeOutput final {
public:
// It's OK to pass 0 for numberOfChannels in which case
// setNumberOfChannels() must be called later on.
- static PassOwnPtr<AudioNodeOutput> create(AudioHandler*, unsigned numberOfChannels);
+ static std::unique_ptr<AudioNodeOutput> create(AudioHandler*, unsigned numberOfChannels);
void dispose();
// Causes our AudioNode to process if it hasn't already for this render quantum.

Powered by Google App Engine
This is Rietveld 408576698