| Index: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| index 278490cad997d70db057c696284facea1ce06379..ec1f26a1bd1fb623e199c01278aef335753d9c5c 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/WebappActivityTestBase.java
|
| @@ -95,14 +95,13 @@ public abstract class WebappActivityTestBase extends ChromeActivityTestCaseBase<
|
| // Register the webapp so when the data storage is opened, the test doesn't crash. There is
|
| // no race condition with the retrieval as AsyncTasks are run sequentially on the background
|
| // thread.
|
| - WebappRegistry.registerWebapp(getInstrumentation().getTargetContext(), WEBAPP_ID,
|
| - new WebappRegistry.FetchWebappDataStorageCallback() {
|
| + WebappRegistry.registerWebapp(
|
| + WEBAPP_ID, new WebappRegistry.FetchWebappDataStorageCallback() {
|
| @Override
|
| public void onWebappDataStorageRetrieved(WebappDataStorage storage) {
|
| storage.updateFromShortcutIntent(createIntent());
|
| }
|
| - }
|
| - );
|
| + });
|
| }
|
|
|
| /**
|
|
|