diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-23 16:37:56 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-23 16:37:56 +0000 |
commit | 847e54fa9cdae2714e081e0c3170e8348355236e (patch) | |
tree | b3ed31d6acd537cd48c39b716677004983298035 /chrome | |
parent | c37f8b42ae69eb7070f46c0be0791c0c67bf2163 (diff) | |
download | chromium_src-847e54fa9cdae2714e081e0c3170e8348355236e.zip chromium_src-847e54fa9cdae2714e081e0c3170e8348355236e.tar.gz chromium_src-847e54fa9cdae2714e081e0c3170e8348355236e.tar.bz2 |
Removes DCHECK that is hit on showing options dialog.
BUG=32927
TEST=make sure you can bring up the options dialog without hitting a
DCHECK (only on debug builds).
Review URL: http://codereview.chromium.org/546119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/net/dns_global.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/dns_global.cc b/chrome/browser/net/dns_global.cc index 6833dc0..cf78357 100644 --- a/chrome/browser/net/dns_global.cc +++ b/chrome/browser/net/dns_global.cc @@ -61,7 +61,7 @@ static bool on_the_record_switch = true; // Enable/disable Dns prefetch activity (either via command line, or via pref). void EnableDnsPrefetch(bool enable) { - DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); + // NOTE: this is invoked on the UI thread. dns_prefetch_enabled = enable; } @@ -429,7 +429,7 @@ void FinalizeDnsPrefetchInitialization( DLOG(INFO) << "DNS Prefetch service started"; - // Prefetch these hostnames on startup. + // Prefetch these hostnames on startup. DnsPrefetchMotivatedList(hostnames_to_prefetch, DnsHostInfo::STARTUP_LIST_MOTIVATED); dns_master->DeserializeReferrersThenDelete(referral_list); |