Index: chrome_frame/test/net/test_automation_provider.cc |
=================================================================== |
--- chrome_frame/test/net/test_automation_provider.cc (revision 52168) |
+++ chrome_frame/test/net/test_automation_provider.cc (working copy) |
@@ -74,8 +74,8 @@ |
// We could also check if the current thread is our TestUrlRequest thread |
// and only intercept requests that belong to that thread. |
- if (g_provider_instance_ && request->GetUserData(NULL) == NULL) { |
- DCHECK(g_provider_instance_->tab_handle_ != -1); |
+ if (g_provider_instance_ && request->GetUserData(NULL) == NULL && |
+ g_provider_instance_->tab_handle_ != -1) { |
// We generate our own request id which is also what |
// ResourceDispatcherHost does (well, the id is actually generated by |
// ResourceDispatcher). Since these requests are divided into with |