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

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

Issue 7812036: Update base/timer.h code to pass through Location from call sites. (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
Index: views/controls/menu/menu_controller.cc
diff --git a/views/controls/menu/menu_controller.cc b/views/controls/menu/menu_controller.cc
index 185899337311d32812a0205d21ff2f0a61d7a1e0..6909d0b3af014885fe0725b073e8030646b310de 100644
--- a/views/controls/menu/menu_controller.cc
+++ b/views/controls/menu/menu_controller.cc
@@ -169,7 +169,7 @@ class MenuController::MenuScrollTask {
if (!scrolling_timer_.IsRunning()) {
scrolling_timer_.Start(TimeDelta::FromMilliseconds(kScrollTimerMS), this,
- &MenuScrollTask::Run);
+ &MenuScrollTask::Run, FROM_HERE);
}
}
@@ -1438,7 +1438,7 @@ void MenuController::BuildMenuItemPath(MenuItemView* item,
void MenuController::StartShowTimer() {
show_timer_.Start(TimeDelta::FromMilliseconds(kShowDelay), this,
- &MenuController::CommitPendingSelection);
+ &MenuController::CommitPendingSelection, FROM_HERE);
}
void MenuController::StopShowTimer() {
@@ -1447,7 +1447,7 @@ void MenuController::StopShowTimer() {
void MenuController::StartCancelAllTimer() {
cancel_all_timer_.Start(TimeDelta::FromMilliseconds(kCloseOnExitTime),
- this, &MenuController::CancelAll);
+ this, &MenuController::CancelAll, FROM_HERE);
}
void MenuController::StopCancelAllTimer() {

Powered by Google App Engine
This is Rietveld 408576698