summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/help/version_updater_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/webui/help/version_updater_win.cc')
-rw-r--r--chrome/browser/ui/webui/help/version_updater_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/help/version_updater_win.cc b/chrome/browser/ui/webui/help/version_updater_win.cc
index b6b38e5..e3708d3 100644
--- a/chrome/browser/ui/webui/help/version_updater_win.cc
+++ b/chrome/browser/ui/webui/help/version_updater_win.cc
@@ -243,7 +243,7 @@ void VersionUpdaterWin::UpdateStatus(GoogleUpdateUpgradeResult result,
void VersionUpdaterWin::GotInstalledVersion(const Version& version) {
// This must be called on the UI thread so that callback_ can be called.
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
// Make sure that the latest version is running and if not,
// notify the user by setting the status to NEARLY_UPDATED.
@@ -287,7 +287,7 @@ BOOL CALLBACK WindowEnumeration(HWND window, LPARAM param) {
HWND VersionUpdaterWin::GetElevationParent() {
// Look for a visible window belonging to the UI thread.
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(BrowserThread::UI);
HWND window = NULL;
EnumThreadWindows(GetCurrentThreadId(),
WindowEnumeration,