Index: chromecast/base/android/system_time_change_notifier_android.cc |
diff --git a/chromecast/base/android/system_time_change_notifier_android.cc b/chromecast/base/android/system_time_change_notifier_android.cc |
index 185c76af208b9b9fb7469a37c82aa56d3150beb4..2aa8bdf549077c1ec318bd4abf1cb59bd567a1f1 100644 |
--- a/chromecast/base/android/system_time_change_notifier_android.cc |
+++ b/chromecast/base/android/system_time_change_notifier_android.cc |
@@ -4,7 +4,6 @@ |
#include "chromecast/base/android/system_time_change_notifier_android.h" |
-#include "base/android/context_utils.h" |
#include "jni/SystemTimeChangeNotifierAndroid_jni.h" |
using base::android::JavaParamRef; |
@@ -24,8 +23,7 @@ SystemTimeChangeNotifierAndroid::~SystemTimeChangeNotifierAndroid() { |
void SystemTimeChangeNotifierAndroid::Initialize() { |
JNIEnv* env = base::android::AttachCurrentThread(); |
- java_notifier_.Reset(Java_SystemTimeChangeNotifierAndroid_create( |
- env, base::android::GetApplicationContext())); |
+ java_notifier_.Reset(Java_SystemTimeChangeNotifierAndroid_create(env)); |
Java_SystemTimeChangeNotifierAndroid_initializeFromNative( |
env, java_notifier_, reinterpret_cast<jlong>(this)); |
} |