Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3732)

Unified Diff: chrome_frame/test/net/test_automation_provider.cc

Issue 2951015: Attempt to fix the chrome frame net tests failures on the builders. There see... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698