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/dom/Document.h" | 9 #include "core/dom/Document.h" |
10 #include "core/html/HTMLCanvasElement.h" | 10 #include "core/html/HTMLCanvasElement.h" |
11 #include "modules/EventModulesFactory.h" | 11 #include "modules/EventModulesFactory.h" |
12 #include "modules/EventModulesNames.h" | 12 #include "modules/EventModulesNames.h" |
13 #include "modules/EventTargetModulesNames.h" | 13 #include "modules/EventTargetModulesNames.h" |
14 #include "modules/IndexedDBNames.h" | 14 #include "modules/IndexedDBNames.h" |
15 #include "modules/accessibility/AXObjectCacheImpl.h" | 15 #include "modules/accessibility/AXObjectCacheImpl.h" |
16 #include "modules/canvas2d/CanvasRenderingContext2D.h" | 16 #include "modules/canvas2d/CanvasRenderingContext2D.h" |
| 17 #include "modules/compositorworker/CompositorWorkerThread.h" |
17 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" | 18 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" |
18 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" | 19 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" |
19 #include "modules/offscreencanvas/OffscreenCanvas.h" | 20 #include "modules/offscreencanvas/OffscreenCanvas.h" |
20 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" | 21 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" |
21 #include "modules/webdatabase/DatabaseManager.h" | 22 #include "modules/webdatabase/DatabaseManager.h" |
22 #include "modules/webgl/WebGL2RenderingContext.h" | 23 #include "modules/webgl/WebGL2RenderingContext.h" |
23 #include "modules/webgl/WebGLRenderingContext.h" | 24 #include "modules/webgl/WebGLRenderingContext.h" |
24 | 25 |
25 namespace blink { | 26 namespace blink { |
26 | 27 |
(...skipping 26 matching lines...) Expand all Loading... |
53 // OffscreenCanvas context types must be registered with the OffscreenCanvas
. | 54 // OffscreenCanvas context types must be registered with the OffscreenCanvas
. |
54 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva
sRenderingContext2D::Factory())); | 55 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva
sRenderingContext2D::Factory())); |
55 | 56 |
56 ASSERT(isInitialized()); | 57 ASSERT(isInitialized()); |
57 } | 58 } |
58 | 59 |
59 void ModulesInitializer::shutdown() | 60 void ModulesInitializer::shutdown() |
60 { | 61 { |
61 ASSERT(isInitialized()); | 62 ASSERT(isInitialized()); |
62 DatabaseManager::terminateDatabaseThread(); | 63 DatabaseManager::terminateDatabaseThread(); |
| 64 CompositorWorkerThread::clearSharedBackingThread(); |
63 CoreInitializer::shutdown(); | 65 CoreInitializer::shutdown(); |
64 } | 66 } |
65 | 67 |
66 } // namespace blink | 68 } // namespace blink |
OLD | NEW |