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

Unified Diff: chrome/browser/android/signin/account_management_screen_helper.cc

Issue 2801033002: Revert of Android: Remove GetApplicationContext part 2 (Closed)
Patch Set: Created 3 years, 8 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/browser/android/signin/account_management_screen_helper.cc
diff --git a/chrome/browser/android/signin/account_management_screen_helper.cc b/chrome/browser/android/signin/account_management_screen_helper.cc
index 5ec128b65b7429de2b43a631058622b1d6d35748..77c24c4a9d26df0fd9144c9e821a00abaebd362d 100644
--- a/chrome/browser/android/signin/account_management_screen_helper.cc
+++ b/chrome/browser/android/signin/account_management_screen_helper.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/android/signin/account_management_screen_helper.h"
+#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "chrome/browser/profiles/profile.h"
@@ -22,6 +23,7 @@
Java_AccountManagementScreenHelper_openAccountManagementScreen(
base::android::AttachCurrentThread(),
+ base::android::GetApplicationContext(),
ProfileAndroid::FromProfile(profile)->GetJavaObject(),
static_cast<int>(service_type));
}
« no previous file with comments | « chrome/browser/android/service_tab_launcher.cc ('k') | chrome/browser/crash_upload_list/crash_upload_list_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698