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

Unified Diff: chrome/browser/android/java_exception_reporter.cc

Issue 1312153003: jni_generator: Pass object parameters as JavaParamRef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/java_exception_reporter.cc
diff --git a/chrome/browser/android/java_exception_reporter.cc b/chrome/browser/android/java_exception_reporter.cc
index 1d572e56adf5e07b3c6d3921b12068ea42b3bb0d..bfe57ee79c441d095015bbcbf11befa1b2650765 100644
--- a/chrome/browser/android/java_exception_reporter.cc
+++ b/chrome/browser/android/java_exception_reporter.cc
@@ -17,7 +17,9 @@ void InitJavaExceptionReporter() {
Java_JavaExceptionReporter_installHandler(env);
}
-void ReportJavaException(JNIEnv* env, jclass jcaller, jthrowable e) {
+void ReportJavaException(JNIEnv* env,
+ const JavaParamRef<jclass>& jcaller,
+ const JavaParamRef<jthrowable>& e) {
// Set the exception_string in BuildInfo so that breakpad can read it.
base::android::BuildInfo::GetInstance()->SetJavaExceptionInfo(
base::android::GetJavaExceptionInfo(env, e));
« no previous file with comments | « chrome/browser/android/history_report/history_report_jni_bridge.cc ('k') | chrome/browser/android/large_icon_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698