Index: chrome/browser/android/shortcut_helper.cc |
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc |
index 779e2728bf99d50f1c0902e8d5aef18775c448a6..d9007c76b6fd7b2145a73b4b5194e72a5e082669 100644 |
--- a/chrome/browser/android/shortcut_helper.cc |
+++ b/chrome/browser/android/shortcut_helper.cc |
@@ -349,7 +349,7 @@ void ShortcutHelper::RecordAddToHomescreen() { |
// Record that the shortcut has been added, so no banners will be shown |
// for this app. |
AppBannerSettingsHelper::RecordBannerEvent( |
- web_contents(), shortcut_info_.url, shortcut_info_.url.spec(), |
+ web_contents(), web_contents()->GetURL(), shortcut_info_.url.spec(), |
AppBannerSettingsHelper::APP_BANNER_EVENT_DID_ADD_TO_HOMESCREEN, |
base::Time::Now()); |
} |