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

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 2475293003: [RemotePlayback] No monitoring on low-end devices (Closed)
Patch Set: Use blink::initialize Created 4 years, 1 month 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/platform/MemoryCoordinator.cpp ('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 9ad32eaa2123ba5803f3632b878e398043a1af26..36aeaef6ca403a0553a9a57d11a125d61a9c9338 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -40,6 +40,7 @@
#include "gin/public/v8_platform.h"
#include "modules/ModulesInitializer.h"
#include "platform/LayoutTestSupport.h"
+#include "platform/MemoryCoordinator.h"
#include "platform/heap/Heap.h"
#include "public/platform/Platform.h"
#include "public/platform/WebThread.h"
@@ -80,6 +81,10 @@ void initialize(Platform* platform) {
V8Initializer::initializeMainThread();
+ // Seems like the most suitable place for this initialization. See the
+ // discussion at https://codereview.chromium.org/2475293003.
+ MemoryCoordinator::initialize();
haraken 2016/11/29 02:02:46 We should call this in Platform::initialize since
whywhat 2016/11/29 20:04:44 Done.
+
modulesInitializer().initialize();
// currentThread is null if we are running on a thread without a message loop.
« no previous file with comments | « third_party/WebKit/Source/platform/MemoryCoordinator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698