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

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