Index: cc/test/test_context_provider.cc |
diff --git a/cc/test/test_context_provider.cc b/cc/test/test_context_provider.cc |
index d7758266b1756805f60d014159472078c31721b6..bf85ea3a7d735f413479a31c0c060ffce841d117 100644 |
--- a/cc/test/test_context_provider.cc |
+++ b/cc/test/test_context_provider.cc |
@@ -69,6 +69,10 @@ bool TestContextProvider::BindToCurrentThread() { |
return true; |
} |
+void TestContextProvider::DetachFromThread() { |
+ context_thread_checker_.DetachFromThread(); |
+} |
+ |
ContextProvider::Capabilities TestContextProvider::ContextCapabilities() { |
DCHECK(bound_); |
DCHECK(context_thread_checker_.CalledOnValidThread()); |