Index: ui/compositor/test/in_process_context_provider.cc |
diff --git a/ui/compositor/test/in_process_context_provider.cc b/ui/compositor/test/in_process_context_provider.cc |
index a6c8d3abe67027b0ca9d095433ffce96056f5a96..76cd19dc191ff8624982205a2d93b573b0058ecb 100644 |
--- a/ui/compositor/test/in_process_context_provider.cc |
+++ b/ui/compositor/test/in_process_context_provider.cc |
@@ -218,9 +218,7 @@ |
} |
void InProcessContextProvider::OnLostContext() { |
- // Note: no thread check here as this should not change the thread for which |
- // this context is currently bound. e.g. a worker context might be unbound |
- // and this should not result in it being bound to the current thread. |
+ DCHECK(context_thread_checker_.CalledOnValidThread()); |
{ |
base::AutoLock lock(destroyed_lock_); |
if (destroyed_) |