| 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 "modules/compositorworker/CompositorWorkerMessagingProxy.h" | 5 #include "modules/compositorworker/CompositorWorkerMessagingProxy.h" |
| 6 | 6 |
| 7 #include "core/workers/WorkerThreadStartupData.h" | 7 #include "core/workers/WorkerThreadStartupData.h" |
| 8 #include "modules/compositorworker/CompositorWorkerThread.h" | 8 #include "modules/compositorworker/CompositorWorkerThread.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(InProcessWorkerBa
se* worker) | 12 CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(InProcessWorkerBa
se* worker, WorkerClients* workerClients) |
| 13 : InProcessWorkerMessagingProxy(worker, nullptr) | 13 : InProcessWorkerMessagingProxy(worker, workerClients) |
| 14 { | 14 { |
| 15 } | 15 } |
| 16 | 16 |
| 17 CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy() | 17 CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy() |
| 18 { | 18 { |
| 19 } | 19 } |
| 20 | 20 |
| 21 PassOwnPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(doub
le originTime) | 21 PassOwnPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(doub
le originTime) |
| 22 { | 22 { |
| 23 return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), or
iginTime); | 23 return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), or
iginTime); |
| 24 } | 24 } |
| 25 | 25 |
| 26 } // namespace blink | 26 } // namespace blink |
| OLD | NEW |