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" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva
sRenderingContext2D::Factory())); | 58 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new OffscreenCanva
sRenderingContext2D::Factory())); |
59 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new WebGLRendering
Context::Factory())); | 59 OffscreenCanvas::registerRenderingContextFactory(adoptPtr(new WebGLRendering
Context::Factory())); |
60 | 60 |
61 ASSERT(isInitialized()); | 61 ASSERT(isInitialized()); |
62 } | 62 } |
63 | 63 |
64 void ModulesInitializer::shutdown() | 64 void ModulesInitializer::shutdown() |
65 { | 65 { |
66 ASSERT(isInitialized()); | 66 ASSERT(isInitialized()); |
67 DatabaseManager::terminateDatabaseThread(); | 67 DatabaseManager::terminateDatabaseThread(); |
68 CompositorWorkerThread::terminateExecution(); | |
69 CoreInitializer::shutdown(); | 68 CoreInitializer::shutdown(); |
70 CompositorWorkerThread::clearSharedBackingThread(); | 69 CompositorWorkerThread::clearSharedBackingThread(); |
71 } | 70 } |
72 | 71 |
73 } // namespace blink | 72 } // namespace blink |
OLD | NEW |