| Index: chrome/browser/geolocation/geolocation_browsertest.cc | 
| diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc | 
| index 6e215a0953d604952c9f83459a816073e3dc3874..b32251063a498fbe68b058bcc6710d71a4041fc7 100644 | 
| --- a/chrome/browser/geolocation/geolocation_browsertest.cc | 
| +++ b/chrome/browser/geolocation/geolocation_browsertest.cc | 
| @@ -181,7 +181,8 @@ GeolocationNotificationObserver::GeolocationNotificationObserver( | 
| registrar_.Add(this, content::NOTIFICATION_LOAD_STOP, | 
| content::NotificationService::AllSources()); | 
| } | 
| -  mock_view_->SetBrowserTest(true); | 
| +  if (PermissionBubbleManager::Enabled()) | 
| +    mock_view_->SetBrowserTest(true); | 
| } | 
|  | 
| GeolocationNotificationObserver::~GeolocationNotificationObserver() { | 
|  |