Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
index ae3f329de447157c72f177c76ac91996848c895e..d089d9befa90047e3c3c29c858a99b5b03cc2158 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -158,12 +158,8 @@ LaunchMode GetLaunchShortcutKind() { |
return LM_SHORTCUT_NONAME; |
base::string16 shortcut(si.lpTitle); |
// The windows quick launch path is not localized. |
- if (shortcut.find(L"\\Quick Launch\\") != base::string16::npos) { |
- if (base::win::GetVersion() >= base::win::VERSION_WIN7) |
- return LM_SHORTCUT_TASKBAR; |
- else |
- return LM_SHORTCUT_QUICKLAUNCH; |
- } |
+ if (shortcut.find(L"\\Quick Launch\\") != base::string16::npos) |
+ return LM_SHORTCUT_TASKBAR; |
std::unique_ptr<base::Environment> env(base::Environment::Create()); |
std::string appdata_path; |
env->GetVar("USERPROFILE", &appdata_path); |