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

Unified Diff: third_party/WebKit/Source/web/WebKit.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
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebKit.cpp
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
index c0b0857acf983b17be15c8d7c31e1a3abf7af76f..a3a8e8b7a36c8e2d13748c1821ea9a9f3c739ee7 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -34,11 +34,10 @@
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8GCController.h"
#include "bindings/core/v8/V8Initializer.h"
-#include "core/Init.h"
#include "core/animation/AnimationClock.h"
#include "core/page/Page.h"
#include "gin/public/v8_platform.h"
-#include "modules/InitModules.h"
+#include "modules/ModulesInitializer.h"
#include "platform/LayoutTestSupport.h"
#include "platform/Logging.h"
#include "platform/heap/Heap.h"
@@ -85,7 +84,7 @@ void initialize(Platform* platform)
{
Platform::initialize(platform);
- modulesInitializer().init();
+ modulesInitializer().initialize();
setIndexedDBClientCreateFunction(IndexedDBClientImpl::create);
V8Initializer::initializeMainThread();
@@ -98,11 +97,6 @@ void initialize(Platform* platform)
}
}
-v8::Isolate* mainThreadIsolate()
-{
- return V8PerIsolateData::mainThreadIsolate();
-}
-
void shutdown()
{
ThreadState::current()->cleanupMainThread();
@@ -123,6 +117,11 @@ void shutdown()
Platform::shutdown();
}
+v8::Isolate* mainThreadIsolate()
+{
+ return V8PerIsolateData::mainThreadIsolate();
+}
+
// TODO(tkent): The following functions to wrap LayoutTestSupport should be
// moved to public/platform/.
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698