Index: chrome/browser/geolocation/geolocation_browsertest.cc |
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc |
index f193f980983567b8feef6c1ba8d5e9f8db7ca651..72f37b50980c04c7949af425754cd794eb3a6424 100644 |
--- a/chrome/browser/geolocation/geolocation_browsertest.cc |
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc |
@@ -278,8 +278,10 @@ class GeolocationBrowserTest : public InProcessBrowserTest { |
void SetInfobarResponse(const GURL& requesting_url, bool allowed) { |
TabContents* tab_contents = current_browser_->GetSelectedTabContents(); |
+ TabSpecificContentSettings* content_settings = |
+ tab_contents->GetTabSpecificContentSettings(); |
const GeolocationSettingsState& settings_state = |
- tab_contents->geolocation_settings_state(); |
+ content_settings->geolocation_settings_state(); |
size_t state_map_size = settings_state.state_map().size(); |
ASSERT_TRUE(infobar_); |
LOG(WARNING) << "will set infobar response"; |