Index: third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
diff --git a/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h b/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
index ca54b2098fadb5bb496ca35a46ac543106693f05..9645745bc71ccf4655ae5662e924c767a8af9eb8 100644 |
--- a/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
+++ b/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
@@ -9,7 +9,7 @@ |
#include "core/dom/DOMArrayBuffer.h" |
#include "core/dom/DOMDataView.h" |
#include "platform/heap/Handle.h" |
-#include "public/platform/modules/webusb/WebUSBTransferInfo.h" |
+#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -19,12 +19,12 @@ class USBInTransferResult final |
, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static USBInTransferResult* create(const String& status, const WebVector<uint8_t> data) |
+ static USBInTransferResult* create(const String& status, const Vector<uint8_t>& data) |
{ |
return new USBInTransferResult(status, data); |
} |
- USBInTransferResult(const String& status, const WebVector<uint8_t> data) |
+ USBInTransferResult(const String& status, const Vector<uint8_t>& data) |
: m_status(status) |
, m_data(DOMDataView::create(DOMArrayBuffer::create(data.data(), data.size()), 0, data.size())) |
{ |