Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / webmidi / MIDIInput.h
index 7901214..935e3a7 100644 (file)
 #include "modules/EventTargetModules.h"
 #include "modules/webmidi/MIDIPort.h"
 
-namespace WebCore {
+namespace blink {
 
 class MIDIAccess;
 
 class MIDIInput FINAL : public MIDIPort {
 public:
-    static PassRefPtrWillBeRawPtr<MIDIInput> create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
+    static MIDIInput* create(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
     virtual ~MIDIInput() { }
 
     DEFINE_ATTRIBUTE_EVENT_LISTENER(midimessage);
@@ -57,8 +57,8 @@ private:
     MIDIInput(MIDIAccess*, const String& id, const String& manufacturer, const String& name, const String& version);
 };
 
-typedef WillBeHeapVector<RefPtrWillBeMember<MIDIInput> > MIDIInputVector;
+typedef HeapVector<Member<MIDIInput> > MIDIInputVector;
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // MIDIInput_h