| Index: cc/test/test_webkit_platform.cc
|
| diff --git a/cc/test/test_webkit_platform.cc b/cc/test/test_webkit_platform.cc
|
| deleted file mode 100644
|
| index 403ba6130142b94716218a2b57fe9838e3b94915..0000000000000000000000000000000000000000
|
| --- a/cc/test/test_webkit_platform.cc
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright (c) 2012 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 "cc/test/test_webkit_platform.h"
|
| -
|
| -namespace cc {
|
| -
|
| -TestWebKitPlatform::TestWebKitPlatform() {
|
| -}
|
| -
|
| -TestWebKitPlatform::~TestWebKitPlatform() {
|
| -}
|
| -
|
| -WebKit::WebCompositorSupport* TestWebKitPlatform::compositorSupport() {
|
| - return &compositor_support_;
|
| -}
|
| -
|
| -void TestWebKitPlatform::cryptographicallyRandomValues(
|
| - unsigned char* buffer, size_t length) {
|
| - base::RandBytes(buffer, length);
|
| -}
|
| -
|
| -WebKit::WebThread* TestWebKitPlatform::createThread(const char* name) {
|
| - return new webkit_glue::WebThreadImpl(name);
|
| -}
|
| -
|
| -WebKit::WebThread* TestWebKitPlatform::currentThread() {
|
| - webkit_glue::WebThreadImplForMessageLoop* thread =
|
| - static_cast<WebThreadImplForMessageLoop*>(current_thread_slot_.Get());
|
| - if (thread)
|
| - return (thread);
|
| -
|
| - scoped_refptr<base::MessageLoopProxy> message_loop =
|
| - base::MessageLoopProxy::current();
|
| - if (!message_loop)
|
| - return NULL;
|
| -
|
| - thread = new WebThreadImplForMessageLoop(message_loop);
|
| - current_thread_slot_.Set(thread);
|
| - return thread;
|
| -}
|
| -
|
| -double TestWebKitPlatform::currentTime() {
|
| - return base::Time::Now().ToDoubleT();
|
| -}
|
| -
|
| -double TestWebKitPlatform::monotonicallyIncreasingTime() {
|
| - return base::TimeTicks::Now().ToInternalValue() /
|
| - static_cast<double>(base::Time::kMicrosecondsPerSecond);
|
| -}
|
| -
|
| -}
|
|
|