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

Unified Diff: chrome/browser/media/android/router/media_router_dialog_controller_android.cc

Issue 2784353002: Android: Remove GetApplicationContext part 2 (Closed)
Patch Set: Fix tests 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/media/android/router/media_router_dialog_controller_android.cc
diff --git a/chrome/browser/media/android/router/media_router_dialog_controller_android.cc b/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
index d619c59bb3b2af17d24806b8fb308cb48bd5c26d..cfd8ee04550af190a874d77ecd9b7923c0cb5a41 100644
--- a/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
+++ b/chrome/browser/media/android/router/media_router_dialog_controller_android.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/media/android/router/media_router_dialog_controller_android.h"
-#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "chrome/browser/media/android/router/media_router_android.h"
@@ -104,9 +103,7 @@ MediaRouterDialogControllerAndroid::MediaRouterDialogControllerAndroid(
: MediaRouterDialogController(web_contents) {
JNIEnv* env = base::android::AttachCurrentThread();
java_dialog_controller_.Reset(Java_ChromeMediaRouterDialogController_create(
- env,
- reinterpret_cast<jlong>(this),
- base::android::GetApplicationContext()));
+ env, reinterpret_cast<jlong>(this)));
}
// static

Powered by Google App Engine
This is Rietveld 408576698