Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 21b2dfdb8a706259dbfb2aca4ebe1c178cfcb74b..cb0647b624d6fad911576627cfc0909dbfb5e111 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -1116,8 +1116,7 @@ void LocationBarView::LayoutView(views::View* view, |
void LocationBarView::RefreshContentSettingViews() { |
for (ContentSettingViews::const_iterator i(content_setting_views_.begin()); |
i != content_setting_views_.end(); ++i) { |
- (*i)->UpdateFromWebContents(model_->input_in_progress() ? NULL : |
- GetWebContentsFromDelegate(delegate_)); |
+ (*i)->Update(model_->input_in_progress() ? NULL : GetTabContents()); |
} |
} |