| 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 a71ee45fa63e7427a7e7574eb014dae3e1b27559..ef26f8800c37423ed9a57bc8bbfdb1965b0906d0 100644
|
| --- a/chrome/browser/web_applications/web_app_win.cc
|
| +++ b/chrome/browser/web_applications/web_app_win.cc
|
| @@ -22,7 +22,6 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/task_scheduler/post_task.h"
|
| #include "base/win/shortcut.h"
|
| -#include "base/win/windows_version.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/shell_integration_win.h"
|
| #include "chrome/browser/web_applications/update_shortcut_worker_win.h"
|
| @@ -300,10 +299,8 @@ void GetShortcutLocationsAndDeleteShortcuts(
|
| web_app::APP_MENU_LOCATION_SUBDIR_CHROMEAPPS;
|
| std::vector<base::FilePath> all_paths = web_app::internals::GetShortcutPaths(
|
| all_shortcut_locations);
|
| - if (base::win::GetVersion() >= base::win::VERSION_WIN7 &&
|
| - !web_app_path.empty()) {
|
| + if (!web_app_path.empty())
|
| all_paths.push_back(web_app_path);
|
| - }
|
|
|
| if (was_pinned_to_taskbar) {
|
| // Determine if there is a link to this app in the TaskBar pin directory.
|
|
|