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

Unified Diff: sky/engine/platform/testing/RunAllTests.cpp

Issue 678003003: Begin to remove heap/* (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 | « sky/engine/platform/heap/ThreadState.cpp ('k') | sky/engine/public/web/WebHeap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/testing/RunAllTests.cpp
diff --git a/sky/engine/platform/testing/RunAllTests.cpp b/sky/engine/platform/testing/RunAllTests.cpp
index eb448a1cee917909cf33212c8f543201397de270..8720e219342fabd6005422c2fbc5dbc669656eb7 100644
--- a/sky/engine/platform/testing/RunAllTests.cpp
+++ b/sky/engine/platform/testing/RunAllTests.cpp
@@ -33,7 +33,6 @@
#include "platform/EventTracer.h"
#include "platform/Partitions.h"
#include "platform/TestingPlatformSupport.h"
-#include "platform/heap/Heap.h"
#include "wtf/CryptographicallyRandomNumber.h"
#include "wtf/MainThread.h"
#include "wtf/WTF.h"
@@ -59,13 +58,9 @@ int main(int argc, char** argv)
blink::TestingPlatformSupport::Config platformConfig;
blink::TestingPlatformSupport platform(platformConfig);
- blink::Heap::init();
- blink::ThreadState::attachMainThread();
blink::Partitions::init();
blink::EventTracer::initialize();
int result = base::RunUnitTestsUsingBaseTestSuite(argc, argv);
blink::Partitions::shutdown();
- blink::ThreadState::detachMainThread();
- blink::Heap::shutdown();
return result;
}
« no previous file with comments | « sky/engine/platform/heap/ThreadState.cpp ('k') | sky/engine/public/web/WebHeap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698