| Index: chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| diff --git a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| index 3685359030886d79eb5eb65e68cbc593ef52e612..5f44742346e5c8d5997cd6b3bb962ca3ed151a81 100644
|
| --- a/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| +++ b/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
|
| @@ -114,6 +114,8 @@
|
| WebApplicationInfo web_app_info = received_web_app_info;
|
| web_app_info.title =
|
| web_app_info.title.substr(0, chrome::kMaxMetaTagAttributeLength);
|
| + web_app_info.description =
|
| + web_app_info.description.substr(0, chrome::kMaxMetaTagAttributeLength);
|
|
|
| // Simply set the user-editable title to be the page's title
|
| shortcut_info_.user_title = web_app_info.title.empty()
|
| @@ -209,11 +211,6 @@
|
| (data.error_code == NO_ERROR_DETECTED &&
|
| AreWebManifestUrlsWebApkCompatible(data.manifest));
|
| weak_observer_->OnDidDetermineWebApkCompatibility(webapk_compatible);
|
| -
|
| - // WebAPKs are wholly defined by the Web Manifest. Ignore the <meta> tag
|
| - // data received in OnDidGetWebApplicationInfo().
|
| - if (webapk_compatible)
|
| - shortcut_info_ = ShortcutInfo(GURL());
|
| }
|
|
|
| if (!data.manifest.IsEmpty()) {
|
|
|