Index: chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java b/chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java |
index 0a48a7c98fe6627dd9d9079ff14a31f6b4698664..3de971de62c773b04c69ef0c810cf34bb828067e 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/profiles/ProfileDownloader.java |
@@ -78,7 +78,7 @@ |
ThreadUtils.assertOnUiThread(); |
if (sPendingProfileDownloads == null) { |
sPendingProfileDownloads = new PendingProfileDownloads(); |
- AccountTrackerService.get().addSystemAccountsSeededListener( |
+ AccountTrackerService.get(context).addSystemAccountsSeededListener( |
sPendingProfileDownloads); |
} |
return sPendingProfileDownloads; |
@@ -123,7 +123,7 @@ |
public static void startFetchingAccountInfoFor(Context context, Profile profile, |
String accountId, int imageSidePixels, boolean isPreSignin) { |
ThreadUtils.assertOnUiThread(); |
- if (!AccountTrackerService.get().checkAndSeedSystemAccounts()) { |
+ if (!AccountTrackerService.get(context).checkAndSeedSystemAccounts()) { |
PendingProfileDownloads.get(context).pendProfileDownload( |
profile, accountId, imageSidePixels); |
return; |