Index: chrome/browser/geolocation/geolocation_infobar_delegate_android.cc |
diff --git a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc |
index 780c70cfd61898c6f623b7041fca6b7bb9637cb1..33a4917f0cfed0c812882749286caa6f0ed6fa40 100644 |
--- a/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc |
+++ b/chrome/browser/geolocation/geolocation_infobar_delegate_android.cc |
@@ -17,8 +17,8 @@ infobars::InfoBar* GeolocationInfoBarDelegateAndroid::Create( |
bool user_gesture, |
Profile* profile, |
const PermissionSetCallback& callback) { |
- return infobar_service->AddInfoBar(infobar_service->CreateConfirmInfoBar( |
- std::unique_ptr<ConfirmInfoBarDelegate>( |
+ return infobar_service->AddInfoBar( |
+ CreatePermissionInfoBar(std::unique_ptr<PermissionInfobarDelegate>( |
new GeolocationInfoBarDelegateAndroid(requesting_frame, user_gesture, |
profile, callback)))); |
} |