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

Unified Diff: third_party/WebKit/Source/platform/testing/RunAllTests.cpp

Issue 1619443002: Move Partitions::initialize() before Platform::initialize(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebKit.cpp » ('j') | third_party/WebKit/Source/wtf/WTF.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
index b08dcaf86a364387c68b23a3365af3790a650cc6..68e3873cfae31129c07e4d3918faf648fe315c56 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -57,8 +57,9 @@ static int runTestSuite(base::TestSuite* testSuite)
int main(int argc, char** argv)
{
+ WTF::Partitions::initialize(nullptr);
WTF::setAlwaysZeroRandomSourceForTesting();
- WTF::initialize(CurrentTime, CurrentTime, nullptr, nullptr);
+ WTF::initialize(CurrentTime, CurrentTime, nullptr);
WTF::initializeMainThread(0);
blink::TestingPlatformSupport::Config platformConfig;
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebKit.cpp » ('j') | third_party/WebKit/Source/wtf/WTF.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698