| Index: chrome/installer/util/auto_launch_util.cc
|
| diff --git a/chrome/installer/util/auto_launch_util.cc b/chrome/installer/util/auto_launch_util.cc
|
| index fdbf96ea82a1fd8214a23a6e65b1f09b9a7ca387..70546c64d76dbe8f2f1d0742af90caee4e300bdd 100644
|
| --- a/chrome/installer/util/auto_launch_util.cc
|
| +++ b/chrome/installer/util/auto_launch_util.cc
|
| @@ -50,7 +50,10 @@ string16 ProfileToKeyName(const string16& profile_directory) {
|
| BrowserDistribution::GetSpecificDistribution(
|
| BrowserDistribution::CHROME_BROWSER);
|
| installer::Product product(distribution);
|
| - path = product.GetUserDataPath();
|
| + std::vector<FilePath> data_dir_paths;
|
| + product.GetUserDataPaths(&data_dir_paths);
|
| + if (!data_dir_paths.empty())
|
| + path = data_dir_paths[0];
|
| }
|
| path = path.Append(profile_directory);
|
|
|
|
|