Index: base/platform_thread_win.cc |
diff --git a/base/platform_thread_win.cc b/base/platform_thread_win.cc |
index e5afc52e6ff0d51e8cdbe4fdc77a92e9865d0f82..3697604227fa962456ed8fa2fb43a01d94bc3a98 100644 |
--- a/base/platform_thread_win.cc |
+++ b/base/platform_thread_win.cc |
@@ -125,6 +125,7 @@ bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { |
// static |
void PlatformThread::Join(PlatformThreadHandle thread_handle) { |
DCHECK(thread_handle); |
+ base::ThreadRestrictions::AssertIOAllowed(); |
// Wait for the thread to exit. It should already have terminated but make |
// sure this assumption is valid. |