Index: chrome/browser/web_applications/web_app_win.cc |
diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc |
index 2630c61cc062e6c909670f7a5fd20550c282357a..b9cd61e2e7d80494a90c3fb7327aa20800fac21e 100644 |
--- a/chrome/browser/web_applications/web_app_win.cc |
+++ b/chrome/browser/web_applications/web_app_win.cc |
@@ -287,7 +287,7 @@ void GetShortcutLocationsAndDeleteShortcuts( |
const base::string16& title, |
bool* was_pinned_to_taskbar, |
std::vector<base::FilePath>* shortcut_paths) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
+ DCHECK(content::BrowserThread::FILE); |
// Get all possible locations for shortcuts. |
web_app::ShortcutLocations all_shortcut_locations; |
@@ -584,7 +584,7 @@ bool CreatePlatformShortcuts( |
const extensions::FileHandlersInfo& file_handlers_info, |
const ShortcutLocations& creation_locations, |
ShortcutCreationReason creation_reason) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::FILE); |
// Nothing to do on Windows for hidden apps. |
if (creation_locations.applications_menu_location == APP_MENU_LOCATION_HIDDEN) |
@@ -636,7 +636,7 @@ void UpdatePlatformShortcuts( |
const base::string16& old_app_title, |
scoped_ptr<ShortcutInfo> shortcut_info, |
const extensions::FileHandlersInfo& file_handlers_info) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::FILE); |
// Generates file name to use with persisted ico and shortcut file. |
base::FilePath file_name = |