Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java

Issue 2352943003: Remove the context argument from all WebappRegistry/WebappDataStorage methods. (Closed)
Patch Set: Address comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
index dccd3ef7f67c2c394340100c6a9a48e195ff684f..683741cf8bc5a6ac19ad3093a14d928564cbf97a 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java
@@ -199,7 +199,7 @@ public class WebappActivity extends FullScreenActivity {
// Kick off the old web app cleanup (if we haven't already) now that we have queued the
// current web app's storage to be opened.
if (!mOldWebappCleanupStarted) {
- WebappRegistry.unregisterOldWebapps(this, System.currentTimeMillis());
+ WebappRegistry.unregisterOldWebapps(System.currentTimeMillis());
mOldWebappCleanupStarted = true;
}
}
@@ -255,8 +255,8 @@ public class WebappActivity extends FullScreenActivity {
}
protected void initializeSplashScreenWidgets(final int backgroundColor) {
- WebappRegistry.getWebappDataStorage(this, mWebappInfo.id(),
- new WebappRegistry.FetchWebappDataStorageCallback() {
+ WebappRegistry.getWebappDataStorage(
+ mWebappInfo.id(), new WebappRegistry.FetchWebappDataStorageCallback() {
@Override
public void onWebappDataStorageRetrieved(WebappDataStorage storage) {
if (storage == null) {
@@ -273,8 +273,7 @@ public class WebappActivity extends FullScreenActivity {
}
});
}
- }
- );
+ });
}
protected void onStorageIsNull(int backgroundColor) {}

Powered by Google App Engine
This is Rietveld 408576698