| Index: chrome/browser/ui/webui/options/personal_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/personal_options_handler.cc b/chrome/browser/ui/webui/options/personal_options_handler.cc
|
| index 30e574d12c2ec82718cd1a56183debcefc90878b..eb661e8e43b30ef617764695cd4f3b32fda711fe 100644
|
| --- a/chrome/browser/ui/webui/options/personal_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/personal_options_handler.cc
|
| @@ -388,15 +388,13 @@ void PersonalOptionsHandler::SendProfilesInfo() {
|
| FilePath current_profile_path =
|
| web_ui_->tab_contents()->browser_context()->GetPath();
|
| for (size_t i = 0, e = cache.GetNumberOfProfiles(); i < e; ++i) {
|
| - DictionaryValue *profile_value = new DictionaryValue();
|
| + DictionaryValue* profile_value = new DictionaryValue();
|
| size_t icon_index = cache.GetAvatarIconIndexOfProfileAtIndex(i);
|
| FilePath profile_path = cache.GetPathOfProfileAtIndex(i);
|
| profile_value->SetString("name", cache.GetNameOfProfileAtIndex(i));
|
| profile_value->SetString("iconURL",
|
| cache.GetDefaultAvatarIconUrl(icon_index));
|
| - profile_value->Set("filePath",
|
| - base::CreateFilePathValue(
|
| - profile_path));
|
| + profile_value->Set("filePath", base::CreateFilePathValue(profile_path));
|
| profile_value->SetBoolean("isCurrentProfile",
|
| profile_path == current_profile_path);
|
| profile_info_list.Append(profile_value);
|
|
|