Index: chrome/browser/android/location_settings_impl.cc |
diff --git a/chrome/browser/android/location_settings_impl.cc b/chrome/browser/android/location_settings_impl.cc |
index 7079a4b187ba21e1a974b0346c937b39d395b6b7..9da10a1b624368c3967635d2ece2772a9651cefb 100644 |
--- a/chrome/browser/android/location_settings_impl.cc |
+++ b/chrome/browser/android/location_settings_impl.cc |
@@ -18,5 +18,5 @@ bool LocationSettingsImpl::CanSitesRequestLocationPermission( |
content::WebContents* web_contents) { |
JNIEnv* env = AttachCurrentThread(); |
return Java_LocationSettings_canSitesRequestLocationPermission( |
- env, web_contents->GetJavaWebContents().obj()); |
+ env, web_contents->GetJavaWebContents()); |
} |