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

Unified Diff: content/browser/child_process_launcher_helper_android.cc

Issue 2828353002: Android: Remove GetApplicationContext part 3 (Closed)
Patch Set: Fix android webview 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: content/browser/child_process_launcher_helper_android.cc
diff --git a/content/browser/child_process_launcher_helper_android.cc b/content/browser/child_process_launcher_helper_android.cc
index a46f2c47fcfa53a78192a2f3ee3a4239a664e532..b498bb4f522b5c2e33d51f80e57f728f7dccac1d 100644
--- a/content/browser/child_process_launcher_helper_android.cc
+++ b/content/browser/child_process_launcher_helper_android.cc
@@ -7,7 +7,6 @@
#include <memory>
#include "base/android/apk_assets.h"
-#include "base/android/context_utils.h"
#include "base/android/jni_array.h"
#include "base/i18n/icu_util.h"
#include "base/logging.h"
@@ -133,8 +132,7 @@ ChildProcessLauncherHelper::LaunchProcessOnLauncherThread(
constexpr int param_key = 0; // TODO(boliu): Use this.
java_peer_.Reset(Java_ChildProcessLauncherHelper_create(
- env, reinterpret_cast<intptr_t>(this),
- base::android::GetApplicationContext(), param_key, j_argv,
+ env, reinterpret_cast<intptr_t>(this), param_key, j_argv,
child_process_id(), j_file_infos));
AddRef(); // Balanced by OnChildProcessStarted.
« no previous file with comments | « content/browser/android/java_interfaces_impl.cc ('k') | content/browser/media/android/media_resource_getter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698