Index: chrome/browser/ui/web_applications/web_app_ui.cc |
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc |
index f3f36a23b99652581ebbad7072712a7880626c50..1d3103a6e6e9c768b7d29bc971be01138a9d87a0 100644 |
--- a/chrome/browser/ui/web_applications/web_app_ui.cc |
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc |
@@ -228,8 +228,8 @@ void UpdateShortcutWorker::UpdateShortcuts() { |
void UpdateShortcutWorker::UpdateShortcutsOnFileThread() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
- FilePath web_app_path = web_app::internals::GetWebAppDataDirectory( |
- web_app::GetDataDir(profile_path_), shortcut_info_); |
+ FilePath web_app_path = web_app::GetWebAppDataDirectory( |
+ profile_path_, shortcut_info_.extension_id, shortcut_info_.url); |
// Ensure web_app_path exists. web_app_path could be missing for a legacy |
// shortcut created by Gears. |