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

Unified Diff: net/base/host_resolver.cc

Issue 126028: Remove a DCHECK which is being hit because of a unit-test's particular setup.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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: net/base/host_resolver.cc
===================================================================
--- net/base/host_resolver.cc (revision 18236)
+++ net/base/host_resolver.cc (working copy)
@@ -320,7 +320,10 @@
// Callback for when DoLookup() completes (runs on origin thread).
void OnLookupComplete() {
- DCHECK_EQ(origin_loop_, MessageLoop::current());
+ // Should be running on origin loop.
+ // TODO(eroman): this is being hit by URLRequestTest.CancelTest*,
+ // because MessageLoop::current() == NULL.
+ //DCHECK_EQ(origin_loop_, MessageLoop::current());
DCHECK(error_ || results_);
if (was_cancelled())
« 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