| 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/CompositorWorkerThread.h" | 5 #include "modules/compositorworker/CompositorWorkerThread.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "bindings/core/v8/ScriptSourceCode.h" | 8 #include "bindings/core/v8/ScriptSourceCode.h" |
| 9 #include "bindings/core/v8/SourceLocation.h" | 9 #include "bindings/core/v8/SourceLocation.h" |
| 10 #include "bindings/core/v8/V8GCController.h" | 10 #include "bindings/core/v8/V8GCController.h" |
| 11 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 11 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
| 12 #include "core/dom/CompositorWorkerProxyClient.h" | 12 #include "core/dom/CompositorWorkerProxyClient.h" |
| 13 #include "core/inspector/ConsoleMessage.h" | 13 #include "core/inspector/ConsoleMessage.h" |
| 14 #include "core/workers/InProcessWorkerObjectProxy.h" | 14 #include "core/workers/InProcessWorkerObjectProxy.h" |
| 15 #include "core/workers/ParentFrameTaskRunners.h" | 15 #include "core/workers/ParentFrameTaskRunners.h" |
| 16 #include "core/workers/WorkerBackingThread.h" | 16 #include "core/workers/WorkerBackingThread.h" |
| 17 #include "core/workers/WorkerLoaderProxy.h" | |
| 18 #include "core/workers/WorkerOrWorkletGlobalScope.h" | 17 #include "core/workers/WorkerOrWorkletGlobalScope.h" |
| 19 #include "core/workers/WorkerThreadStartupData.h" | 18 #include "core/workers/WorkerThreadStartupData.h" |
| 20 #include "platform/CrossThreadFunctional.h" | 19 #include "platform/CrossThreadFunctional.h" |
| 21 #include "platform/WaitableEvent.h" | 20 #include "platform/WaitableEvent.h" |
| 22 #include "platform/WebThreadSupportingGC.h" | 21 #include "platform/WebThreadSupportingGC.h" |
| 23 #include "platform/heap/Handle.h" | 22 #include "platform/heap/Handle.h" |
| 24 #include "platform/testing/TestingPlatformSupport.h" | 23 #include "platform/testing/TestingPlatformSupport.h" |
| 25 #include "platform/testing/UnitTestHelpers.h" | 24 #include "platform/testing/UnitTestHelpers.h" |
| 26 #include "platform/wtf/PtrUtil.h" | 25 #include "platform/wtf/PtrUtil.h" |
| 27 #include "public/platform/Platform.h" | 26 #include "public/platform/Platform.h" |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 ASSERT_TRUE(second_isolate); | 244 ASSERT_TRUE(second_isolate); |
| 246 EXPECT_EQ(first_isolate, second_isolate); | 245 EXPECT_EQ(first_isolate, second_isolate); |
| 247 | 246 |
| 248 // Verify that the isolate can run some scripts correctly in the second | 247 // Verify that the isolate can run some scripts correctly in the second |
| 249 // worker. | 248 // worker. |
| 250 CheckWorkerCanExecuteScript(second_worker.get()); | 249 CheckWorkerCanExecuteScript(second_worker.get()); |
| 251 second_worker->TerminateAndWait(); | 250 second_worker->TerminateAndWait(); |
| 252 } | 251 } |
| 253 | 252 |
| 254 } // namespace blink | 253 } // namespace blink |
| OLD | NEW |