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

Unified Diff: third_party/WebKit/Source/modules/InitModules.cpp

Issue 1449953002: compositor-worker: Refactor CompositorWorkerManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add documentation and ASSERTS for some subtleties. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/InitModules.cpp
diff --git a/third_party/WebKit/Source/modules/InitModules.cpp b/third_party/WebKit/Source/modules/InitModules.cpp
index ac4736b2bf0567bfc0a090d5064d2b96a28b8a96..e209ffd24e070482a3d4f5760bcf8effaeca9fc9 100644
--- a/third_party/WebKit/Source/modules/InitModules.cpp
+++ b/third_party/WebKit/Source/modules/InitModules.cpp
@@ -15,7 +15,6 @@
#include "modules/IndexedDBNames.h"
#include "modules/accessibility/AXObjectCacheImpl.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
-#include "modules/compositorworker/CompositorWorkerManager.h"
#include "modules/filesystem/DraggedIsolatedFileSystemImpl.h"
#include "modules/webdatabase/DatabaseManager.h"
#include "modules/webgl/WebGL2RenderingContext.h"
@@ -43,9 +42,6 @@ void ModulesInitializer::init()
CoreInitializer::init();
- if (RuntimeEnabledFeatures::compositorWorkerEnabled())
- CompositorWorkerManager::initialize();
-
// Canvas context types must be registered with the HTMLCanvasElement.
HTMLCanvasElement::registerRenderingContextFactory(adoptPtr(new CanvasRenderingContext2D::Factory()));
HTMLCanvasElement::registerRenderingContextFactory(adoptPtr(new WebGLRenderingContext::Factory()));
@@ -56,8 +52,6 @@ void ModulesInitializer::init()
void ModulesInitializer::terminateThreads()
{
- if (RuntimeEnabledFeatures::compositorWorkerEnabled())
- CompositorWorkerManager::shutdown();
DatabaseManager::terminateDatabaseThread();
}

Powered by Google App Engine
This is Rietveld 408576698