OLD | NEW |
---|---|
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 "ModulesInitializer.h" | 5 #include "ModulesInitializer.h" |
6 | 6 |
7 #include "bindings/modules/v8/ModuleBindingsInitializer.h" | 7 #include "bindings/modules/v8/ModuleBindingsInitializer.h" |
8 #include "core/EventTypeNames.h" | 8 #include "core/EventTypeNames.h" |
9 #include "core/css/CSSPaintImageGenerator.h" | 9 #include "core/css/CSSPaintImageGenerator.h" |
10 #include "core/dom/Document.h" | 10 #include "core/dom/Document.h" |
11 #include "core/html/HTMLCanvasElement.h" | 11 #include "core/html/HTMLCanvasElement.h" |
12 #include "core/offscreencanvas/OffscreenCanvas.h" | 12 #include "core/offscreencanvas/OffscreenCanvas.h" |
13 #include "modules/EventModulesFactory.h" | 13 #include "modules/EventModulesFactory.h" |
14 #include "modules/EventModulesNames.h" | 14 #include "modules/EventModulesNames.h" |
15 #include "modules/EventTargetModulesNames.h" | 15 #include "modules/EventTargetModulesNames.h" |
16 #include "modules/IndexedDBNames.h" | 16 #include "modules/IndexedDBNames.h" |
17 #include "modules/accessibility/AXObjectCacheImpl.h" | 17 #include "modules/accessibility/AXObjectCacheImpl.h" |
18 #include "modules/canvas2d/CanvasRenderingContext2D.h" | 18 #include "modules/canvas2d/CanvasRenderingContext2D.h" |
19 #include "modules/compositorworker/CompositorWorkerThread.h" | |
19 #include "modules/csspaint/CSSPaintImageGeneratorImpl.h" | 20 #include "modules/csspaint/CSSPaintImageGeneratorImpl.h" |
20 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" | 21 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" |
21 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" | 22 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" |
22 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" | 23 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" |
23 #include "modules/webdatabase/DatabaseManager.h" | 24 #include "modules/webdatabase/DatabaseManager.h" |
24 #include "modules/webgl/WebGL2RenderingContext.h" | 25 #include "modules/webgl/WebGL2RenderingContext.h" |
25 #include "modules/webgl/WebGLRenderingContext.h" | 26 #include "modules/webgl/WebGLRenderingContext.h" |
26 | 27 |
27 namespace blink { | 28 namespace blink { |
28 | 29 |
(...skipping 27 matching lines...) Expand all Loading... | |
56 // OffscreenCanvas context types must be registered with the OffscreenCanvas . | 57 // OffscreenCanvas context types must be registered with the OffscreenCanvas . |
57 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva sRenderingContext2D::Factory())); | 58 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva sRenderingContext2D::Factory())); |
58 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new WebGLRendering Context::Factory())); | 59 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new WebGLRendering Context::Factory())); |
59 | 60 |
60 ASSERT(isInitialized()); | 61 ASSERT(isInitialized()); |
61 } | 62 } |
62 | 63 |
63 void ModulesInitializer::shutdown() | 64 void ModulesInitializer::shutdown() |
64 { | 65 { |
65 ASSERT(isInitialized()); | 66 ASSERT(isInitialized()); |
67 CompositorWorkerThread::clearSharedBackingThread(); | |
haraken
2016/05/09 02:00:53
Backing threads of other workers are shut down in
flackr
2016/05/10 18:07:39
This does make sense, however core/ is not allowed
haraken
2016/05/11 00:18:31
Can we add some virtual method on WorkerThread and
flackr
2016/05/18 05:26:49
No, the problem is that the backing thread is a si
| |
66 DatabaseManager::terminateDatabaseThread(); | 68 DatabaseManager::terminateDatabaseThread(); |
67 CoreInitializer::shutdown(); | 69 CoreInitializer::shutdown(); |
68 } | 70 } |
69 | 71 |
70 } // namespace blink | 72 } // namespace blink |
OLD | NEW |