| 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 cf539f3c629457eed8fc277ec668a758e5fcee5a..c943f6447d657906d598b8e9d8a0d344c358e8f5 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -157,12 +157,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);
|
|
|