Index: chrome/browser/download/download_status_updater_win.cc |
diff --git a/chrome/browser/download/download_status_updater_win.cc b/chrome/browser/download/download_status_updater_win.cc |
index 1c95fab392e590c19b6c9c12914f6e31cdaba4d7..c28cb1a688499ff9e5c2db548526709acc0aae03 100644 |
--- a/chrome/browser/download/download_status_updater_win.cc |
+++ b/chrome/browser/download/download_status_updater_win.cc |
@@ -23,6 +23,7 @@ |
#include "googleurl/src/gurl.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
+#include "win8/util/win8_util.h" |
// This code doesn't compile with Aura on. TODO(avi): hook it up so that |
// win_aura can do platform integration. |
@@ -94,7 +95,7 @@ void DownloadStatusUpdater::UpdateAppIconDownloadProgress( |
UpdateTaskbarProgressBar(download_count, progress_known, progress); |
// Fire notifications when downloads complete. |
- if (!base::win::IsMetroProcess()) |
+ if (!win8::IsSingleWindowMetroMode()) |
return; |
if (download->GetState() != content::DownloadItem::COMPLETE) |