| Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| index 49371f148bcd81a2e781445bf97ace6a21bb4fbd..56f133296e616a2424f59ce0bd80f59bd21b1e64 100644
|
| --- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| @@ -80,8 +80,8 @@ void ContentSettingImageView::UpdateFromWebContents(WebContents* web_contents) {
|
|
|
| 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()))
|
|
|