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

Unified Diff: views/controls/menu/menu_controller.cc

Issue 7825026: Revert "Currently, base/timer.cc calls PostTask with FROM_HERE as the Location, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « ui/base/animation/animation_container.cc ('k') | views/controls/throbber.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_controller.cc
diff --git a/views/controls/menu/menu_controller.cc b/views/controls/menu/menu_controller.cc
index acad114c0ebd9ca22af66a94815f9a0d7dbbc551..185899337311d32812a0205d21ff2f0a61d7a1e0 100644
--- a/views/controls/menu/menu_controller.cc
+++ b/views/controls/menu/menu_controller.cc
@@ -168,9 +168,8 @@ class MenuController::MenuScrollTask {
is_scrolling_up_ = new_is_up;
if (!scrolling_timer_.IsRunning()) {
- scrolling_timer_.Start(FROM_HERE,
- TimeDelta::FromMilliseconds(kScrollTimerMS),
- this, &MenuScrollTask::Run);
+ scrolling_timer_.Start(TimeDelta::FromMilliseconds(kScrollTimerMS), this,
+ &MenuScrollTask::Run);
}
}
@@ -1438,7 +1437,7 @@ void MenuController::BuildMenuItemPath(MenuItemView* item,
}
void MenuController::StartShowTimer() {
- show_timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kShowDelay), this,
+ show_timer_.Start(TimeDelta::FromMilliseconds(kShowDelay), this,
&MenuController::CommitPendingSelection);
}
@@ -1447,8 +1446,7 @@ void MenuController::StopShowTimer() {
}
void MenuController::StartCancelAllTimer() {
- cancel_all_timer_.Start(FROM_HERE,
- TimeDelta::FromMilliseconds(kCloseOnExitTime),
+ cancel_all_timer_.Start(TimeDelta::FromMilliseconds(kCloseOnExitTime),
this, &MenuController::CancelAll);
}
« no previous file with comments | « ui/base/animation/animation_container.cc ('k') | views/controls/throbber.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698