diff options
-rw-r--r-- | chrome_frame/test/net/test_automation_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc index a9da4d1..563a8c1 100644 --- a/chrome_frame/test/net/test_automation_provider.cc +++ b/chrome_frame/test/net/test_automation_provider.cc @@ -74,8 +74,8 @@ URLRequestJob* TestAutomationProvider::Factory(URLRequest* request, // 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 |