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

Unified Diff: chrome/browser/ui/views/reload_button.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
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 db954903009ef7d490453fc57839f71f8351a12e..0670d630d7fefc7bd4d0a223596d855d36b675d5 100644
--- a/chrome/browser/ui/views/reload_button.cc
+++ b/chrome/browser/ui/views/reload_button.cc
@@ -60,7 +60,7 @@ void ReloadButton::ChangeMode(Mode mode, bool force) {
// Go ahead and change to reload after a bit, which allows repeated reloads
// without moving the mouse.
if (!stop_to_reload_timer_.IsRunning()) {
- stop_to_reload_timer_.Start(FROM_HERE, stop_to_reload_timer_delay_, this,
+ stop_to_reload_timer_.Start(stop_to_reload_timer_delay_, this,
&ReloadButton::OnStopToReloadTimer);
}
}
@@ -106,7 +106,7 @@ void ReloadButton::ButtonPressed(views::Button* /* button */,
// here as the browser will do that when it actually starts loading (which
// may happen synchronously, thus the need to do this before telling the
// browser to execute the reload command).
- double_click_timer_.Start(FROM_HERE, double_click_timer_delay_, this,
+ double_click_timer_.Start(double_click_timer_delay_, this,
&ReloadButton::OnDoubleClickTimer);
if (browser_)
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698