summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_applications/web_app.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/web_applications/web_app.cc')
-rw-r--r--chrome/browser/web_applications/web_app.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index 5b2ecac..e1dc105 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -375,7 +375,7 @@ bool CreateShortcutTask::CreateShortcut() {
// Generates app id from web app url and profile path.
std::wstring app_id = ShellIntegration::GetAppId(
- web_app::GenerateApplicationNameFromURL(shortcut_info_.url).c_str(),
+ web_app::GenerateApplicationNameFromURL(shortcut_info_.url),
profile_path_);
FilePath shortcut_to_pin;
@@ -632,7 +632,7 @@ void UpdateShortcutWorker::UpdateShortcutsOnFileThread() {
if (!shortcut_files_.empty()) {
// Generates app id from web app url and profile path.
std::wstring app_id = ShellIntegration::GetAppId(
- web_app::GenerateApplicationNameFromURL(shortcut_info_.url).c_str(),
+ web_app::GenerateApplicationNameFromURL(shortcut_info_.url),
profile_path_);
// Sanitize description