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..f0fb5f6b19b69373748ad5137a19b25ccb0c2b40 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 scope scope 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 scope, |
+ Bitmap splashImage) { |
+ WebappRegistry.registerWebapp(context, id, scope); |
WebappDataStorage.open(context, id).updateSplashScreenImage(splashImage); |
} |