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