| Index: chrome/browser/ui/webui/options/create_profile_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| index 800471ae94613a2034cbbd8182d9087f08c8249a..f820a9943e0fc8be588df1ba9bc03e7cbeaf856d 100644
|
| --- a/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/create_profile_handler.cc
|
| @@ -230,8 +230,7 @@ void CreateProfileHandler::ShowProfileCreationError(
|
| profile_creation_type_ = NO_CREATION_IN_PROGRESS;
|
| profile_path_being_created_.clear();
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| - GetJavascriptMethodName(PROFILE_CREATION_ERROR),
|
| - base::StringValue(error));
|
| + GetJavascriptMethodName(PROFILE_CREATION_ERROR), base::Value(error));
|
| // The ProfileManager calls us back with a NULL profile in some cases.
|
| if (profile) {
|
| webui::DeleteProfileAtPath(profile->GetPath(),
|
| @@ -434,7 +433,7 @@ void CreateProfileHandler::ShowProfileCreationWarning(
|
| const base::string16& warning) {
|
| DCHECK_EQ(SUPERVISED_PROFILE_CREATION, profile_creation_type_);
|
| web_ui()->CallJavascriptFunctionUnsafe(
|
| - "BrowserOptions.showCreateProfileWarning", base::StringValue(warning));
|
| + "BrowserOptions.showCreateProfileWarning", base::Value(warning));
|
| }
|
|
|
| void CreateProfileHandler::RecordSupervisedProfileCreationMetrics(
|
|
|