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

Unified Diff: chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc

Issue 1049873005: [chrome/browser/chromeos/] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc
diff --git a/chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc b/chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc
index a91b2e3b3d71dae381300ae4b0e89d7f9d540eeb..7bb0765ca87362ba5db04054ba422b1df748d65a 100644
--- a/chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc
+++ b/chrome/browser/chromeos/login/ui/proxy_settings_dialog.cc
@@ -62,7 +62,7 @@ ProxySettingsDialog::ProxySettingsDialog(
window,
base::string16(),
GetURLForProxySettings(network.guid())) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
++instance_count_;
gfx::Rect screen_bounds(chromeos::CalculateScreenBounds(gfx::Size()));
@@ -84,7 +84,7 @@ ProxySettingsDialog::ProxySettingsDialog(
}
ProxySettingsDialog::~ProxySettingsDialog() {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
--instance_count_;
}

Powered by Google App Engine
This is Rietveld 408576698