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 2596ef4efa4f7e01540485848f5bff4a8ced5b4c..b8a4ec986a47b05a9168299ce34a655f941cae65 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -1114,8 +1114,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()); |
} |
} |