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

Unified Diff: cc/test/run_all_unittests.cc

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 165064 Created 8 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
Index: cc/test/run_all_unittests.cc
diff --git a/cc/test/run_all_unittests.cc b/cc/test/run_all_unittests.cc
index d0fddbcd41425878886808ca50a06bb411d432ec..03bfba3cdced6710468044afda87b35ecf352089 100644
--- a/cc/test/run_all_unittests.cc
+++ b/cc/test/run_all_unittests.cc
@@ -12,10 +12,7 @@ int main(int argc, char** argv) {
::testing::InitGoogleMock(&argc, argv);
TestSuite test_suite(argc, argv);
MessageLoop message_loop;
- scoped_ptr<cc::Thread> mainCCThread = cc::ThreadImpl::createForCurrentThread();
jamesr 2012/10/31 04:42:13 drop the cc #includes too. if base/test/run_all_u
aelias_OOO_until_Jul13 2012/10/31 06:15:30 Nope, it doesn't.
- cc::Proxy::setMainThread(mainCCThread.get());
int result = test_suite.Run();
return result;
}
-

Powered by Google App Engine
This is Rietveld 408576698