Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: third_party/WebKit/Source/modules/compositorworker/AnimationWorkletThreadTest.cpp

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: clean up Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/AnimationWorkletThread.h" 5 #include "modules/compositorworker/AnimationWorkletThread.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/inspector/ConsoleMessage.h" 12 #include "core/inspector/ConsoleMessage.h"
13 #include "core/workers/InProcessWorkerObjectProxy.h" 13 #include "core/workers/InProcessWorkerObjectProxy.h"
14 #include "core/workers/ParentFrameTaskRunners.h" 14 #include "core/workers/ParentFrameTaskRunners.h"
15 #include "core/workers/WorkerBackingThread.h" 15 #include "core/workers/WorkerBackingThread.h"
16 #include "core/workers/WorkerLoaderProxy.h"
17 #include "core/workers/WorkerOrWorkletGlobalScope.h" 16 #include "core/workers/WorkerOrWorkletGlobalScope.h"
18 #include "core/workers/WorkerReportingProxy.h" 17 #include "core/workers/WorkerReportingProxy.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"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 ASSERT_TRUE(second_isolate); 192 ASSERT_TRUE(second_isolate);
194 EXPECT_EQ(first_isolate, second_isolate); 193 EXPECT_EQ(first_isolate, second_isolate);
195 194
196 // Verify that the isolate can run some scripts correctly in the second 195 // Verify that the isolate can run some scripts correctly in the second
197 // worklet. 196 // worklet.
198 CheckWorkletCanExecuteScript(second_worklet.get()); 197 CheckWorkletCanExecuteScript(second_worklet.get());
199 second_worklet->TerminateAndWait(); 198 second_worklet->TerminateAndWait();
200 } 199 }
201 200
202 } // namespace blink 201 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698