summaryrefslogtreecommitdiffstats
path: root/cc/test/test_context_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/test_context_provider.cc')
-rw-r--r--cc/test/test_context_provider.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/test_context_provider.cc b/cc/test/test_context_provider.cc
index d775826..bf85ea3 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());