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

Unified Diff: chromecast/app/android/crash_handler.cc

Issue 2807263002: Android: Remove GetApplicationContext for cast (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | chromecast/base/android/system_time_change_notifier_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/app/android/crash_handler.cc
diff --git a/chromecast/app/android/crash_handler.cc b/chromecast/app/android/crash_handler.cc
index 0a13b8423658910faf5f1a1834e14e51f8e7af98..194f0bcf4ef1c678c24f2e41acc0d9aa4f9f37b4 100644
--- a/chromecast/app/android/crash_handler.cc
+++ b/chromecast/app/android/crash_handler.cc
@@ -8,7 +8,6 @@
#include <stdlib.h>
#include <string>
-#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/files/file_path.h"
@@ -91,9 +90,8 @@ void CrashHandler::InitializeUploader() {
JNIEnv* env = base::android::AttachCurrentThread();
base::android::ScopedJavaLocalRef<jstring> crash_dump_path_java =
base::android::ConvertUTF8ToJavaString(env, crash_dump_path_.value());
- Java_CastCrashHandler_initializeUploader(
- env, base::android::GetApplicationContext(), crash_dump_path_java,
- UploadCrashToStaging());
+ Java_CastCrashHandler_initializeUploader(env, crash_dump_path_java,
+ UploadCrashToStaging());
}
} // namespace chromecast
« no previous file with comments | « no previous file | chromecast/base/android/system_time_change_notifier_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698