Index: content/shell/browser/shell_login_dialog_mac.mm |
diff --git a/content/shell/browser/shell_login_dialog_mac.mm b/content/shell/browser/shell_login_dialog_mac.mm |
index 3e014e8791ce42a50ba1bd1ee96ac50bd6182ad0..a7d24566872bafaa165f306ba20571334fc71dde 100644 |
--- a/content/shell/browser/shell_login_dialog_mac.mm |
+++ b/content/shell/browser/shell_login_dialog_mac.mm |
@@ -88,7 +88,7 @@ const int kPasswordFieldTag = 2; |
namespace content { |
void ShellLoginDialog::PlatformCreateDialog(const base::string16& message) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
helper_ = [[ShellLoginDialogHelper alloc] init]; |
// Show the modal dialog. |
@@ -109,13 +109,13 @@ void ShellLoginDialog::PlatformCreateDialog(const base::string16& message) { |
} |
void ShellLoginDialog::PlatformCleanUp() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
[helper_ release]; |
helper_ = nil; |
} |
void ShellLoginDialog::PlatformRequestCancelled() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
[helper_ cancel]; |
} |