Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: chrome/browser/ui/passwords/manage_passwords_icon.cc

Issue 565673002: Close the password bubble when navigating between tabs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove debug code Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/passwords/manage_passwords_icon.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_icon.cc b/chrome/browser/ui/passwords/manage_passwords_icon.cc
index 5a12917569c6274ae2a45ae4fa0d4e987a567b78..7908770698b86adc8359514b14473f9bdd4e46e3 100644
--- a/chrome/browser/ui/passwords/manage_passwords_icon.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_icon.cc
@@ -26,8 +26,6 @@ void ManagePasswordsIcon::SetActive(bool active) {
}
void ManagePasswordsIcon::SetState(password_manager::ui::State state) {
- if (state_ == state)
- return;
state_ = state;
UpdateIDs();
UpdateVisibleUI();

Powered by Google App Engine
This is Rietveld 408576698