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

Unified Diff: chrome/browser/ui/fullscreen_exit_bubble.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 | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/fullscreen_exit_bubble.cc
diff --git a/chrome/browser/ui/fullscreen_exit_bubble.cc b/chrome/browser/ui/fullscreen_exit_bubble.cc
index be3db4e640ccdc35cbcd8718f52b18cb6b6c5772..8c42fa1d1d11fbd34e12039dde064626c378cb8f 100644
--- a/chrome/browser/ui/fullscreen_exit_bubble.cc
+++ b/chrome/browser/ui/fullscreen_exit_bubble.cc
@@ -26,12 +26,11 @@ FullscreenExitBubble::~FullscreenExitBubble() {
void FullscreenExitBubble::StartWatchingMouse() {
// Start the initial delay timer and begin watching the mouse.
- initial_delay_.Start(FROM_HERE,
- base::TimeDelta::FromMilliseconds(kInitialDelayMs), this,
+ initial_delay_.Start(base::TimeDelta::FromMilliseconds(kInitialDelayMs), this,
&FullscreenExitBubble::CheckMousePosition);
gfx::Point cursor_pos = GetCursorScreenPoint();
last_mouse_pos_ = cursor_pos;
- mouse_position_checker_.Start(FROM_HERE,
+ mouse_position_checker_.Start(
base::TimeDelta::FromMilliseconds(1000 / kPositionCheckHz), this,
&FullscreenExitBubble::CheckMousePosition);
}
@@ -63,8 +62,7 @@ void FullscreenExitBubble::CheckMousePosition() {
if (cursor_pos != last_mouse_pos_) {
// The mouse moved; reset the idle timer.
idle_timeout_.Stop(); // If the timer isn't running, this is a no-op.
- idle_timeout_.Start(FROM_HERE,
- base::TimeDelta::FromMilliseconds(kIdleTimeMs), this,
+ idle_timeout_.Start(base::TimeDelta::FromMilliseconds(kIdleTimeMs), this,
&FullscreenExitBubble::CheckMousePosition);
}
last_mouse_pos_ = cursor_pos;
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698