Index: cc/test/test_context_provider.cc |
diff --git a/cc/test/test_context_provider.cc b/cc/test/test_context_provider.cc |
index 99ab62bdce4559e6f8efe729a099fbe14deefb27..37e6eaedc2ea0c115e19b4c83c062670c41d77e8 100644 |
--- a/cc/test/test_context_provider.cc |
+++ b/cc/test/test_context_provider.cc |
@@ -84,7 +84,10 @@ TestContextProvider::TestContextProvider( |
context_thread_checker_.DetachFromThread(); |
context_gl_->set_test_context(context3d_.get()); |
context3d_->set_test_support(support_.get()); |
- cache_controller_.reset(new ContextCacheController(support_.get())); |
+ // Just pass nullptr to the ContextCacheController for its task runner. Idle |
+ // handling is tested directly in ContextCacheController's unittests, and |
+ // isn't needed here. |
+ cache_controller_.reset(new ContextCacheController(support_.get(), nullptr)); |
} |
TestContextProvider::~TestContextProvider() { |