| Index: third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.cpp b/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.cpp
|
| deleted file mode 100644
|
| index 896d1fcb4dc3535cc61a423444b4f2919afb1d1a..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/modules/bluetooth/ConvertWebVectorToArrayBuffer.cpp
|
| +++ /dev/null
|
| @@ -1,18 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "modules/bluetooth/ConvertWebVectorToArrayBuffer.h"
|
| -
|
| -namespace blink {
|
| -
|
| -PassRefPtr<DOMArrayBuffer> ConvertWebVectorToArrayBuffer::take(ScriptPromiseResolver*, const WebVector<uint8_t>& webVector)
|
| -{
|
| - static_assert(sizeof(*webVector.data()) == 1, "uint8_t should be a single byte");
|
| -
|
| - RefPtr<DOMArrayBuffer> domBuffer = DOMArrayBuffer::create(webVector.data(), webVector.size());
|
| -
|
| - return domBuffer;
|
| -}
|
| -
|
| -} // namespace blink
|
|
|