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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java

Issue 2772343003: Android: Remove GetApplicationContext part 1 (Closed)
Patch Set: rebase Created 3 years, 9 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/download/SystemDownloadNotifier.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java b/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
index 5953613e6c5d9d7de55d5a799eb9e7ab05f86bfa..c3404ec6f41a3583fdc817faedbed12490ba19c9 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/download/SystemDownloadNotifier.java
@@ -235,10 +235,9 @@ public class SystemDownloadNotifier implements DownloadNotifier, Observer {
@VisibleForTesting
void onSuccessNotificationShown(
final PendingNotificationInfo notificationInfo, final int notificationId) {
- DownloadManagerService.getDownloadManagerService(
- mApplicationContext).onSuccessNotificationShown(
- notificationInfo.downloadInfo, notificationInfo.canResolve,
- notificationId, notificationInfo.systemDownloadId);
+ DownloadManagerService.getDownloadManagerService().onSuccessNotificationShown(
+ notificationInfo.downloadInfo, notificationInfo.canResolve, notificationId,
+ notificationInfo.systemDownloadId);
}
/**

Powered by Google App Engine
This is Rietveld 408576698