Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
index d4a4967a7275cec59d6cdcbecfce9d5835cfd646..a2f6d3d7852427d9a44317e9a4e8d8ce2d381cc1 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm |
@@ -133,7 +133,7 @@ |
new GeneratedCreditCardDecoration(this)), |
search_button_decoration_(new SearchButtonDecoration(this)), |
manage_passwords_decoration_( |
- new ManagePasswordsDecoration(command_updater, this)), |
+ new ManagePasswordsDecoration(command_updater)), |
browser_(browser), |
weak_ptr_factory_(this) { |
for (size_t i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) { |
@@ -222,7 +222,6 @@ |
return; |
ManagePasswordsUIController::FromWebContents(web_contents) |
->UpdateIconAndBubbleState(manage_passwords_decoration_->icon()); |
- OnDecorationsChanged(); |
} |
void LocationBarViewMac::UpdatePageActions() { |
@@ -527,7 +526,6 @@ |
} |
void LocationBarViewMac::Update(const WebContents* contents) { |
- UpdateManagePasswordsIconAndBubble(); |
UpdateStarDecorationVisibility(); |
UpdateTranslateDecoration(); |
UpdateZoomDecoration(); |