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/CompositorWorker.h" | 5 #include "modules/compositorworker/CompositorWorker.h" |
6 | 6 |
7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
9 #include "core/dom/ExceptionCode.h" | 9 #include "core/dom/ExceptionCode.h" |
10 #include "core/workers/WorkerClients.h" | 10 #include "core/workers/WorkerClients.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 CompositorWorker::~CompositorWorker() | 35 CompositorWorker::~CompositorWorker() |
36 { | 36 { |
37 ASSERT(isMainThread()); | 37 ASSERT(isMainThread()); |
38 } | 38 } |
39 | 39 |
40 const AtomicString& CompositorWorker::interfaceName() const | 40 const AtomicString& CompositorWorker::interfaceName() const |
41 { | 41 { |
42 return EventTargetNames::CompositorWorker; | 42 return EventTargetNames::CompositorWorker; |
43 } | 43 } |
44 | 44 |
45 WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(Execution
Context* worker) | 45 InProcessWorkerGlobalScopeProxy* CompositorWorker::createInProcessWorkerGlobalSc
opeProxy(ExecutionContext* worker) |
46 { | 46 { |
47 ASSERT(getExecutionContext()->isDocument()); | 47 ASSERT(getExecutionContext()->isDocument()); |
48 return new CompositorWorkerMessagingProxy(this); | 48 return new CompositorWorkerMessagingProxy(this); |
49 } | 49 } |
50 | 50 |
51 } // namespace blink | 51 } // namespace blink |
OLD | NEW |