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

Unified Diff: chrome/browser/android/data_usage/external_data_use_observer_bridge.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/data_usage/external_data_use_observer_bridge.cc
diff --git a/chrome/browser/android/data_usage/external_data_use_observer_bridge.cc b/chrome/browser/android/data_usage/external_data_use_observer_bridge.cc
index ca929ed417d0e3e3ae84c2e54879dfc608e8cff4..70ed4eca57cf5a5ec89fa30fb5643fe3ecc37745 100644
--- a/chrome/browser/android/data_usage/external_data_use_observer_bridge.cc
+++ b/chrome/browser/android/data_usage/external_data_use_observer_bridge.cc
@@ -7,7 +7,6 @@
#include <memory>
#include <vector>
-#include "base/android/context_utils.h"
#include "base/android/jni_string.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h"
@@ -96,8 +95,7 @@ void ExternalDataUseObserverBridge::Init(
JNIEnv* env = base::android::AttachCurrentThread();
j_external_data_use_observer_.Reset(Java_ExternalDataUseObserver_create(
- env, base::android::GetApplicationContext(),
- reinterpret_cast<intptr_t>(this)));
+ env, reinterpret_cast<intptr_t>(this)));
DCHECK(!j_external_data_use_observer_.is_null());
Java_ExternalDataUseObserver_initControlAppManager(
« no previous file with comments | « chrome/browser/android/background_sync_launcher_android.cc ('k') | chrome/browser/android/devtools_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698