| Index: chrome/browser/web_applications/web_app.cc
|
| diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
|
| index a675bfba5246826ca5524cd5af31d9bc6b14ffbd..0da4bcecf29dbaac00f8c9ef9a322ee404717f0f 100644
|
| --- a/chrome/browser/web_applications/web_app.cc
|
| +++ b/chrome/browser/web_applications/web_app.cc
|
| @@ -141,7 +141,7 @@ base::FilePath GetSanitizedFileName(const base::string16& name) {
|
| #else
|
| std::string file_name = base::UTF16ToUTF8(name);
|
| #endif
|
| - file_util::ReplaceIllegalCharactersInPath(&file_name, '_');
|
| + base::i18n::ReplaceIllegalCharactersInPath(&file_name, '_');
|
| return base::FilePath(file_name);
|
| }
|
|
|
| @@ -426,7 +426,7 @@ void GetIconsInfo(const WebApplicationInfo& app_info,
|
|
|
| #if defined(OS_LINUX)
|
| std::string GetWMClassFromAppName(std::string app_name) {
|
| - file_util::ReplaceIllegalCharactersInPath(&app_name, '_');
|
| + base::i18n::ReplaceIllegalCharactersInPath(&app_name, '_');
|
| base::TrimString(app_name, "_", &app_name);
|
| return app_name;
|
| }
|
|
|