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

Unified Diff: chrome/browser/platform_util_android.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: chrome/browser/platform_util_android.cc
diff --git a/chrome/browser/platform_util_android.cc b/chrome/browser/platform_util_android.cc
index 1880a8ef03972930bcbf00590f6696f48b138a26..205272d47949899cc5cbf9bf74e8b93a70bea340 100644
--- a/chrome/browser/platform_util_android.cc
+++ b/chrome/browser/platform_util_android.cc
@@ -33,7 +33,7 @@ void OpenExternal(Profile* profile, const GURL& url) {
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jstring> j_url =
base::android::ConvertUTF8ToJavaString(env, url.spec());
- Java_PlatformUtil_launchExternalProtocol(env, j_url.obj());
+ Java_PlatformUtil_launchExternalProtocol(env, j_url);
}
gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
« no previous file with comments | « chrome/browser/permissions/permission_update_infobar_delegate_android.cc ('k') | chrome/browser/profiles/profile_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698