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/CompositorWorkerThread.h" | 5 #include "modules/compositorworker/CompositorWorkerThread.h" |
7 | 6 |
8 #include "bindings/core/v8/ScriptSourceCode.h" | 7 #include "bindings/core/v8/ScriptSourceCode.h" |
9 #include "bindings/core/v8/V8GCController.h" | 8 #include "bindings/core/v8/V8GCController.h" |
10 #include "core/inspector/ConsoleMessage.h" | 9 #include "core/inspector/ConsoleMessage.h" |
11 #include "core/testing/DummyPageHolder.h" | 10 #include "core/testing/DummyPageHolder.h" |
12 #include "core/workers/WorkerLoaderProxy.h" | 11 #include "core/workers/WorkerLoaderProxy.h" |
13 #include "core/workers/WorkerObjectProxy.h" | 12 #include "core/workers/WorkerObjectProxy.h" |
14 #include "core/workers/WorkerThreadStartupData.h" | 13 #include "core/workers/WorkerThreadStartupData.h" |
15 #include "platform/NotImplemented.h" | 14 #include "platform/NotImplemented.h" |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 v8::Isolate* secondIsolate = secondWorker->isolate(); | 298 v8::Isolate* secondIsolate = secondWorker->isolate(); |
300 ASSERT(secondIsolate); | 299 ASSERT(secondIsolate); |
301 EXPECT_EQ(firstIsolate, secondIsolate); | 300 EXPECT_EQ(firstIsolate, secondIsolate); |
302 | 301 |
303 // Verify that the isolate can run some scripts correctly in the second work
er. | 302 // Verify that the isolate can run some scripts correctly in the second work
er. |
304 checkWorkerCanExecuteScript(secondWorker.get()); | 303 checkWorkerCanExecuteScript(secondWorker.get()); |
305 secondWorker->terminateAndWait(); | 304 secondWorker->terminateAndWait(); |
306 } | 305 } |
307 | 306 |
308 } // namespace blink | 307 } // namespace blink |
OLD | NEW |