| Index: Source/modules/gamepad/WebKitGamepadList.cpp
|
| diff --git a/Source/modules/gamepad/WebKitGamepadList.cpp b/Source/modules/gamepad/WebKitGamepadList.cpp
|
| deleted file mode 100644
|
| index dfe4d7be41173e40b0c3674fa3b7226a01f0c1e1..0000000000000000000000000000000000000000
|
| --- a/Source/modules/gamepad/WebKitGamepadList.cpp
|
| +++ /dev/null
|
| @@ -1,33 +0,0 @@
|
| -// Copyright 2014 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 "config.h"
|
| -#include "modules/gamepad/WebKitGamepadList.h"
|
| -
|
| -namespace blink {
|
| -
|
| -WebKitGamepadList::WebKitGamepadList()
|
| -{
|
| -}
|
| -
|
| -void WebKitGamepadList::set(unsigned index, WebKitGamepad* gamepad)
|
| -{
|
| - if (index >= WebGamepads::itemsLengthCap)
|
| - return;
|
| - m_items[index] = gamepad;
|
| -}
|
| -
|
| -WebKitGamepad* WebKitGamepadList::item(unsigned index)
|
| -{
|
| - return index < length() ? m_items[index].get() : 0;
|
| -}
|
| -
|
| -void WebKitGamepadList::trace(Visitor* visitor)
|
| -{
|
| - for (unsigned index = 0; index < WebGamepads::itemsLengthCap; index++) {
|
| - visitor->trace(m_items[index]);
|
| - }
|
| -}
|
| -
|
| -} // namespace blink
|
|
|