Index: third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp |
index cdb2d1b188a4edaa32ce8087d684b1fc9cef21f9..4ba03dc451b92f46a92faa3d220ec5cacf26d871 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccessor.cpp |
@@ -35,7 +35,6 @@ |
#include "platform/wtf/PtrUtil.h" |
#include "platform/wtf/text/WTFString.h" |
#include "public/platform/Platform.h" |
-#include "public/platform/modules/webmidi/WebMIDIAccessor.h" |
using blink::WebString; |
using midi::mojom::PortState; |
@@ -51,7 +50,7 @@ |
MIDIAccessor::MIDIAccessor(MIDIAccessorClient* client) : client_(client) { |
DCHECK(client); |
- accessor_ = Platform::Current()->CreateMIDIAccessor(this); |
+ accessor_ = WTF::WrapUnique(Platform::Current()->CreateMIDIAccessor(this)); |
DCHECK(accessor_); |
} |