| 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 e87484f4b15c60d17ed13a6c161e3d9b9a2cb6a7..050cb3d2f01ccbf965205f76528f9b494c6a6c09 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -53,6 +53,7 @@
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebThread.h"
|
| #include "v8/include/v8.h"
|
| +#include "web/WebInitializer.h"
|
|
|
| namespace blink {
|
|
|
| @@ -77,6 +78,11 @@ static ModulesInitializer& GetModulesInitializer() {
|
| return *initializer;
|
| }
|
|
|
| +static WebInitializer& GetWebInitializer() {
|
| + DEFINE_STATIC_LOCAL(WebInitializer, initializer, ());
|
| + return initializer;
|
| +}
|
| +
|
| void Initialize(Platform* platform) {
|
| Platform::Initialize(platform);
|
|
|
| @@ -84,6 +90,8 @@ void Initialize(Platform* platform) {
|
|
|
| GetModulesInitializer().Initialize();
|
|
|
| + GetWebInitializer().Initialize();
|
| +
|
| // currentThread is null if we are running on a thread without a message loop.
|
| if (WebThread* current_thread = platform->CurrentThread()) {
|
| DCHECK(!g_end_of_task_runner);
|
|
|