| Index: content/utility/utility_blink_platform_impl.cc
|
| diff --git a/content/utility/utility_blink_platform_impl.cc b/content/utility/utility_blink_platform_impl.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..986823ae5f5a30d4f127c3214280aa8fea98d1ec
|
| --- /dev/null
|
| +++ b/content/utility/utility_blink_platform_impl.cc
|
| @@ -0,0 +1,22 @@
|
| +// 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 "content/utility/utility_blink_platform_impl.h"
|
| +
|
| +namespace content {
|
| +
|
| +UtilityBlinkPlatformImpl::UtilityBlinkPlatformImpl()
|
| + : main_thread_(new WebThreadImplForUtilityThread()) {
|
| +}
|
| +
|
| +UtilityBlinkPlatformImpl::~UtilityBlinkPlatformImpl() {
|
| +}
|
| +
|
| +blink::WebThread* UtilityBlinkPlatformImpl::currentThread() {
|
| + if (main_thread_->isCurrentThread())
|
| + return main_thread_.get();
|
| + return BlinkPlatformImpl::currentThread();
|
| +}
|
| +
|
| +} // namespace content
|
|
|