OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | |
6 #include "modules/compositorworker/CompositorWorkerMessagingProxy.h" | 5 #include "modules/compositorworker/CompositorWorkerMessagingProxy.h" |
7 | 6 |
8 #include "core/workers/WorkerThreadStartupData.h" | 7 #include "core/workers/WorkerThreadStartupData.h" |
9 #include "modules/compositorworker/CompositorWorkerThread.h" | 8 #include "modules/compositorworker/CompositorWorkerThread.h" |
10 | 9 |
11 namespace blink { | 10 namespace blink { |
12 | 11 |
13 CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(InProcessWorkerBa
se* worker) | 12 CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(InProcessWorkerBa
se* worker) |
14 : WorkerMessagingProxy(worker, nullptr) | 13 : WorkerMessagingProxy(worker, nullptr) |
15 { | 14 { |
16 } | 15 } |
17 | 16 |
18 CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy() | 17 CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy() |
19 { | 18 { |
20 } | 19 } |
21 | 20 |
22 PassRefPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(doub
le originTime) | 21 PassRefPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(doub
le originTime) |
23 { | 22 { |
24 return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), or
iginTime); | 23 return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), or
iginTime); |
25 } | 24 } |
26 | 25 |
27 } // namespace blink | 26 } // namespace blink |
OLD | NEW |