Index: webkit/compositor_bindings/test/run_all_unittests.cc |
=================================================================== |
--- webkit/compositor_bindings/test/run_all_unittests.cc (revision 165906) |
+++ webkit/compositor_bindings/test/run_all_unittests.cc (working copy) |
@@ -12,7 +12,10 @@ |
::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; |
} |
+ |