| 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 27 matching lines...) Expand all Loading... |
| 38 ASSERT(isMainThread()); | 38 ASSERT(isMainThread()); |
| 39 } | 39 } |
| 40 | 40 |
| 41 const AtomicString& CompositorWorker::interfaceName() const | 41 const AtomicString& CompositorWorker::interfaceName() const |
| 42 { | 42 { |
| 43 return EventTargetNames::CompositorWorker; | 43 return EventTargetNames::CompositorWorker; |
| 44 } | 44 } |
| 45 | 45 |
| 46 WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(Execution
Context* worker) | 46 WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(Execution
Context* worker) |
| 47 { | 47 { |
| 48 ASSERT(executionContext()->isDocument()); | 48 ASSERT(getExecutionContext()->isDocument()); |
| 49 return new CompositorWorkerMessagingProxy(this); | 49 return new CompositorWorkerMessagingProxy(this); |
| 50 } | 50 } |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| OLD | NEW |