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

Unified Diff: third_party/WebKit/Source/platform/exported/Platform.cpp

Issue 1583263002: Experimental CompressibleString UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: haraken's review Created 4 years, 11 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/platform/exported/Platform.cpp
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp
index 11e174491a19f7d277edc1076d4f1c2dada86205..4265c7df64405da1b998b6418a9b8dede330f73a 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -31,6 +31,8 @@
#include "platform/PartitionAllocMemoryDumpProvider.h"
#include "public/platform/Platform.h"
+#include "platform/text/CompressibleString.h"
+
namespace blink {
static Platform* s_platform = 0;
@@ -49,6 +51,8 @@ void Platform::initialize(Platform* platform)
// TODO(ssid): remove this check after fixing crbug.com/486782.
if (s_platform && s_platform->m_mainThread)
s_platform->registerMemoryDumpProvider(PartitionAllocMemoryDumpProvider::instance(), "PartitionAlloc");
+
+ initializeCompressibleStringTable();
hajimehoshi 2016/01/20 10:17:17 Oops, WTF::Partitions is not initialized then. Add
}
void Platform::shutdown()

Powered by Google App Engine
This is Rietveld 408576698