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

Unified Diff: android_webview/native/aw_pdf_exporter.cc

Issue 2237943002: Remove now-unnecessary .obj() in Java method calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch-context
Patch Set: Rebase *again* :( Created 4 years, 4 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: android_webview/native/aw_pdf_exporter.cc
diff --git a/android_webview/native/aw_pdf_exporter.cc b/android_webview/native/aw_pdf_exporter.cc
index 05aef8355fc4e240e441d89ab8418571458c9381..a30bac6d74feb836a319eff195b9be797e22f27b 100644
--- a/android_webview/native/aw_pdf_exporter.cc
+++ b/android_webview/native/aw_pdf_exporter.cc
@@ -32,7 +32,7 @@ AwPdfExporter::~AwPdfExporter() {
if (obj.is_null())
return;
// Clear the Java peer's weak pointer to |this| object.
- Java_AwPdfExporter_setNativeAwPdfExporter(env, obj.obj(), 0);
+ Java_AwPdfExporter_setNativeAwPdfExporter(env, obj, 0);
}
void AwPdfExporter::ExportToPdf(JNIEnv* env,
@@ -98,7 +98,7 @@ void AwPdfExporter::DidExportPdf(int fd, bool success) {
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
if (obj.is_null())
return;
- Java_AwPdfExporter_didExportPdf(env, obj.obj(), success);
+ Java_AwPdfExporter_didExportPdf(env, obj, success);
}
bool RegisterAwPdfExporter(JNIEnv* env) {
« no previous file with comments | « android_webview/native/aw_message_port_service_impl.cc ('k') | android_webview/native/aw_quota_manager_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698