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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.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/DefaultAudioDestinationNode.h
diff --git a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.h b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.h
index 4940ac81d1e43857a4523f8eeb2629b6b1195941..9b6a8d29591d92ba1a25ea82b308fe4c16746d6b 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.h
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.h
@@ -27,7 +27,7 @@
#include "modules/webaudio/AudioDestinationNode.h"
#include "platform/audio/AudioDestination.h"
-#include <memory>
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -54,7 +54,7 @@ private:
explicit DefaultAudioDestinationHandler(AudioNode&);
void createDestination();
- std::unique_ptr<AudioDestination> m_destination;
+ OwnPtr<AudioDestination> m_destination;
String m_inputDeviceId;
unsigned m_numberOfInputChannels;
};

Powered by Google App Engine
This is Rietveld 408576698