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 5d27e4745b6bbbe489bf0929e346229a0a9c4fdb..6f8601721509b923fe33567949a7cbe9c9b047a9 100644 |
--- a/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
+++ b/third_party/WebKit/Source/modules/webusb/USBInTransferResult.h |
@@ -25,7 +25,7 @@ public: |
USBInTransferResult(const String& status, const WebVector<uint8_t> data) |
: m_status(status) |
- , m_data(DOMArrayBuffer::create(data.data(), data.size())) |
+ , m_data(DOMArrayBuffer::deprecatedCreateOrCrash(data.data(), data.size())) |
{ |
} |