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

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

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored 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/testing/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
index a852c3c82cebb30a1b8dd506a3c2bc4c712dcb5f..acd806c8e7ae494b4fe631e757a42c8c5383da53 100644
--- a/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/platform/testing/RunAllTests.cpp
@@ -68,7 +68,7 @@ int main(int argc, char** argv)
blink::TestingPlatformSupport platform(platformConfig);
blink::Heap::init();
- blink::ThreadState::attachMainThread();
+ blink::ThreadState::prepareForMainThread();
blink::ThreadState::current()->registerTraceDOMWrappers(nullptr, nullptr);
blink::EventTracer::initialize();

Powered by Google App Engine
This is Rietveld 408576698