| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index 46f57bd52d84df3dd100650eab31a204e743de13..e08e4813dc1f9a7f4fd7c3fce4169f87f4a90e3a 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -1377,8 +1377,8 @@ void LocationBarViewGtk::ContentSettingImageViewGtk::UpdateFromWebContents(
|
|
|
| TabSpecificContentSettings* content_settings = NULL;
|
| if (web_contents) {
|
| - content_settings = TabContents::GetOwningTabContentsForWebContents(
|
| - web_contents)->content_settings();
|
| + content_settings =
|
| + TabContents::FromWebContents(web_contents)->content_settings();
|
| }
|
| if (!content_settings || content_settings->IsBlockageIndicated(
|
| content_setting_image_model_->get_content_settings_type()))
|
|
|