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

Unified Diff: chrome/browser/android/service_tab_launcher.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/android/service_tab_launcher.cc
diff --git a/chrome/browser/android/service_tab_launcher.cc b/chrome/browser/android/service_tab_launcher.cc
index d33e6213472e629c92c876a3ab80db27fffb4978..d3236351f76a65ee6a73671214e9f2b0fc221c01 100644
--- a/chrome/browser/android/service_tab_launcher.cc
+++ b/chrome/browser/android/service_tab_launcher.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/android/service_tab_launcher.h"
-#include "base/android/context_utils.h"
#include "base/android/jni_string.h"
#include "base/callback.h"
#include "base/memory/ptr_util.h"
@@ -15,7 +14,6 @@
using base::android::AttachCurrentThread;
using base::android::ConvertUTF8ToJavaString;
-using base::android::GetApplicationContext;
using base::android::JavaParamRef;
using base::android::ScopedJavaLocalRef;
@@ -67,7 +65,7 @@ void ServiceTabLauncher::LaunchTab(content::BrowserContext* browser_context,
base::MakeUnique<TabLaunchedCallback>(callback));
DCHECK_GE(request_id, 1);
- Java_ServiceTabLauncher_launchTab(env, GetApplicationContext(), request_id,
+ Java_ServiceTabLauncher_launchTab(env, request_id,
browser_context->IsOffTheRecord(), url,
static_cast<int>(disposition), referrer_url,
params.referrer.policy, headers, post_data);
« no previous file with comments | « chrome/browser/android/ntp/ntp_snippets_launcher.cc ('k') | chrome/browser/android/signin/account_management_screen_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698