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

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

Issue 1776993007: Rename Init.h to CoreInitializer.h, and InitModules.h to ModuleInitializer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/ModulesInitializer.cpp
diff --git a/third_party/WebKit/Source/modules/InitModules.cpp b/third_party/WebKit/Source/modules/ModulesInitializer.cpp
similarity index 96%
rename from third_party/WebKit/Source/modules/InitModules.cpp
rename to third_party/WebKit/Source/modules/ModulesInitializer.cpp
index 031048d6f370a4d11071715213e5eed495cc45af..4377ca9c4b826b8b2a74ef1581433cddcba872aa 100644
--- a/third_party/WebKit/Source/modules/InitModules.cpp
+++ b/third_party/WebKit/Source/modules/ModulesInitializer.cpp
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "InitModules.h"
+#include "ModulesInitializer.h"
#include "bindings/modules/v8/ModuleBindingsInitializer.h"
#include "core/EventTypeNames.h"
@@ -24,7 +24,7 @@
namespace blink {
-void ModulesInitializer::init()
+void ModulesInitializer::initialize()
{
ASSERT(!isInitialized());
@@ -42,7 +42,7 @@ void ModulesInitializer::init()
AXObjectCache::init(AXObjectCacheImpl::create);
DraggedIsolatedFileSystem::init(DraggedIsolatedFileSystemImpl::prepareForDataObject);
- CoreInitializer::init();
+ CoreInitializer::initialize();
// Canvas context types must be registered with the HTMLCanvasElement.
HTMLCanvasElement::registerRenderingContextFactory(adoptPtr(new CanvasRenderingContext2D::Factory()));
@@ -61,7 +61,6 @@ void ModulesInitializer::shutdown()
ASSERT(isInitialized());
DatabaseManager::terminateDatabaseThread();
CoreInitializer::shutdown();
-
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/ModulesInitializer.h ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698