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

Unified Diff: chrome/browser/ui/views/reload_button.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: chrome/browser/ui/views/reload_button.cc
diff --git a/chrome/browser/ui/views/reload_button.cc b/chrome/browser/ui/views/reload_button.cc
index 0670d630d7fefc7bd4d0a223596d855d36b675d5..29c73f75a59162e145723798c858452a068cc680 100644
--- a/chrome/browser/ui/views/reload_button.cc
+++ b/chrome/browser/ui/views/reload_button.cc
@@ -61,7 +61,8 @@ void ReloadButton::ChangeMode(Mode mode, bool force) {
// without moving the mouse.
if (!stop_to_reload_timer_.IsRunning()) {
stop_to_reload_timer_.Start(stop_to_reload_timer_delay_, this,
- &ReloadButton::OnStopToReloadTimer);
+ &ReloadButton::OnStopToReloadTimer,
+ FROM_HERE);
}
}
}
@@ -107,7 +108,7 @@ void ReloadButton::ButtonPressed(views::Button* /* button */,
// may happen synchronously, thus the need to do this before telling the
// browser to execute the reload command).
double_click_timer_.Start(double_click_timer_delay_, this,
- &ReloadButton::OnDoubleClickTimer);
+ &ReloadButton::OnDoubleClickTimer, FROM_HERE);
if (browser_)
browser_->ExecuteCommandWithDisposition(command, disposition);

Powered by Google App Engine
This is Rietveld 408576698