| Index: chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java b/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java
|
| index 00fd54aa4a86709a8f4468fbc3338de2cbeaf6c8..6efe8bf80e067439daad9bd77e08865d9ccaf05b 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java
|
| @@ -173,13 +173,15 @@ public class ShortcutHelper {
|
| * Creates a storage location and stores the data for a web app using {@link WebappDataStorage}.
|
| * @param context Context to open the WebappDataStorage with.
|
| * @param id ID of the webapp which is storing data.
|
| + * @param originUrl origin of the webapp which is storing data.
|
| * @param splashImage Image which should be displayed on the splash screen of
|
| * the webapp. This can be null of there is no image to show.
|
| */
|
| @SuppressWarnings("unused")
|
| @CalledByNative
|
| - private static void storeWebappData(Context context, String id, Bitmap splashImage) {
|
| - WebappRegistry.registerWebapp(context, id);
|
| + private static void storeWebappData(Context context, String id, String originUrl,
|
| + Bitmap splashImage) {
|
| + WebappRegistry.registerWebapp(context, id, originUrl);
|
| WebappDataStorage.open(context, id).updateSplashScreenImage(splashImage);
|
| }
|
|
|
|
|