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

Unified Diff: ash/launcher/launcher_button.cc

Issue 14640019: Regression issue with "ShouldHop" (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rm invalid unit test Created 7 years, 7 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
« no previous file with comments | « no previous file | ash/launcher/launcher_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button.cc
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc
index 78fc815784842909526cd95331ebe9bc74ef1397..1acee585e2829e2645fa721df6730439183d0b06 100644
--- a/ash/launcher/launcher_button.cc
+++ b/ash/launcher/launcher_button.cc
@@ -300,7 +300,7 @@ void LauncherButton::AddState(State state) {
base::TimeDelta::FromMilliseconds(kHopUpMS));
}
state_ |= state;
- UpdateState();
+ Layout();
if (state & STATE_ATTENTION)
bar_->ShowAttention(true);
}
@@ -316,7 +316,7 @@ void LauncherButton::ClearState(State state) {
base::TimeDelta::FromMilliseconds(kHopDownMS));
}
state_ &= ~state;
- UpdateState();
+ Layout();
if (state & STATE_ATTENTION)
bar_->ShowAttention(false);
}
« no previous file with comments | « no previous file | ash/launcher/launcher_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698