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

Unified Diff: webkit/compositor_bindings/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: Fix unit test hang by explicitly NULLing out impl_thread_message_loop_proxy_ Created 8 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: webkit/compositor_bindings/test/run_all_unittests.cc
diff --git a/webkit/compositor_bindings/test/run_all_unittests.cc b/webkit/compositor_bindings/test/run_all_unittests.cc
index 818c0085dc4002c7e00a0599664da6711686cd8a..1478894b4d4778b8dbd25e938afaae6c8586ce35 100644
--- a/webkit/compositor_bindings/test/run_all_unittests.cc
+++ b/webkit/compositor_bindings/test/run_all_unittests.cc
@@ -12,10 +12,7 @@ int main(int argc, char** argv) {
::testing::InitGoogleMock(&argc, argv);
TestSuite testSuite(argc, argv);
MessageLoop message_loop;
- scoped_ptr<cc::Thread> mainCCThread = cc::ThreadImpl::createForCurrentThread();
- cc::Proxy::setMainThread(mainCCThread.get());
int result = testSuite.Run();
return result;
}
-

Powered by Google App Engine
This is Rietveld 408576698