| 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/CompositorWorker.h" | 5 #include "modules/compositorworker/CompositorWorker.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 10 #include "core/dom/ExceptionCode.h" | 9 #include "core/dom/ExceptionCode.h" |
| 11 #include "core/workers/WorkerClients.h" | 10 #include "core/workers/WorkerClients.h" |
| 12 #include "modules/EventTargetModules.h" | 11 #include "modules/EventTargetModules.h" |
| 13 #include "modules/compositorworker/CompositorWorkerMessagingProxy.h" | 12 #include "modules/compositorworker/CompositorWorkerMessagingProxy.h" |
| 14 #include "wtf/MainThread.h" | 13 #include "wtf/MainThread.h" |
| 15 | 14 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 return EventTargetNames::CompositorWorker; | 43 return EventTargetNames::CompositorWorker; |
| 45 } | 44 } |
| 46 | 45 |
| 47 WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(Execution
Context* worker) | 46 WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(Execution
Context* worker) |
| 48 { | 47 { |
| 49 ASSERT(executionContext()->isDocument()); | 48 ASSERT(executionContext()->isDocument()); |
| 50 return new CompositorWorkerMessagingProxy(this); | 49 return new CompositorWorkerMessagingProxy(this); |
| 51 } | 50 } |
| 52 | 51 |
| 53 } // namespace blink | 52 } // namespace blink |
| OLD | NEW |