Index: chrome/browser/ui/android/bluetooth_chooser_android.cc |
diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.cc b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
index 8003eadbb5f7033f2d03d94b98761991961faa69..d872f2617f2bc3e2105f060a4476968da94921f9 100644 |
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc |
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc |
@@ -44,8 +44,7 @@ BluetoothChooserAndroid::BluetoothChooserAndroid( |
JNIEnv* env = AttachCurrentThread(); |
base::android::ScopedJavaLocalRef<jstring> origin_string = |
base::android::ConvertUTF16ToJavaString( |
- env, |
- url_formatter::FormatUrlForSecurityDisplay(GURL(origin.Serialize()))); |
+ env, url_formatter::FormatUrlForSecurityDisplay(origin.GetURL())); |
security_state::SecurityStateModel::SecurityInfo security_info; |
security_model_client->GetSecurityInfo(&security_info); |
java_dialog_.Reset(Java_BluetoothChooserDialog_create( |