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

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

Issue 1464493002: Revert of More regular Platform implementations in unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 c72797dc62d71baa701ddbeae35a3afa1fc9b3c8..dcf561c5ac0b70db4bb04a5df4b0ff2c0590a37f 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -31,8 +31,8 @@
#include "config.h"
#include "platform/EventTracer.h"
+#include "platform/TestingPlatformSupport.h"
#include "platform/heap/Heap.h"
-#include "platform/testing/TestingPlatformSupport.h"
#include "wtf/CryptographicallyRandomNumber.h"
#include "wtf/MainThread.h"
#include "wtf/Partitions.h"
@@ -66,7 +66,8 @@
WTF::initialize(CurrentTime, CurrentTime, CurrentTime, nullptr, nullptr);
WTF::initializeMainThread(0);
- blink::TestingPlatformSupport platform;
+ blink::TestingPlatformSupport::Config platformConfig;
+ blink::TestingPlatformSupport platform(platformConfig);
blink::Heap::init();
blink::ThreadState::attachMainThread();

Powered by Google App Engine
This is Rietveld 408576698