| Index: chrome/browser/profiles/profile_android.cc
|
| diff --git a/chrome/browser/profiles/profile_android.cc b/chrome/browser/profiles/profile_android.cc
|
| index 79369d7ca4dacb9bca27b4a418f46d7ab810e21f..32dec186d32dbf6b678c409784913a5a432da598 100644
|
| --- a/chrome/browser/profiles/profile_android.cc
|
| +++ b/chrome/browser/profiles/profile_android.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/profiles/profile_android.h"
|
|
|
| #include "base/android/jni_android.h"
|
| +#include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_destroyer.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| @@ -49,7 +50,7 @@ bool ProfileAndroid::RegisterProfileAndroid(JNIEnv* env) {
|
|
|
| // static
|
| jobject ProfileAndroid::GetLastUsedProfile(JNIEnv* env, jclass clazz) {
|
| - Profile* profile = ProfileManager::GetLastUsedProfile();
|
| + Profile* profile = g_browser_process->profile_manager()->GetLastUsedProfile();
|
| if (profile == NULL) {
|
| NOTREACHED() << "Profile not found.";
|
| return NULL;
|
|
|