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

Unified Diff: chrome/browser/ui/gtk/status_bubble_gtk.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/gtk/status_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/status_bubble_gtk.cc b/chrome/browser/ui/gtk/status_bubble_gtk.cc
index 6640a8bda269e1a7d7a09608ea8ac7e9d2623c47..df31d84c97b440b2233f439aaac9b90da544decd 100644
--- a/chrome/browser/ui/gtk/status_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/status_bubble_gtk.cc
@@ -99,8 +99,7 @@ void StatusBubbleGtk::SetStatusTextToURL() {
int desired_width = parent->allocation.width;
if (!expanded()) {
expand_timer_.Stop();
- expand_timer_.Start(FROM_HERE,
- base::TimeDelta::FromMilliseconds(kExpandHoverDelay),
+ expand_timer_.Start(base::TimeDelta::FromMilliseconds(kExpandHoverDelay),
this, &StatusBubbleGtk::ExpandURL);
// When not expanded, we limit the size to one third the browser's
// width.
@@ -134,7 +133,7 @@ void StatusBubbleGtk::Hide() {
void StatusBubbleGtk::SetStatusTextTo(const std::string& status_utf8) {
if (status_utf8.empty()) {
hide_timer_.Stop();
- hide_timer_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kHideDelay),
+ hide_timer_.Start(base::TimeDelta::FromMilliseconds(kHideDelay),
this, &StatusBubbleGtk::Hide);
} else {
gtk_label_set_text(GTK_LABEL(label_.get()), status_utf8.c_str());
« no previous file with comments | « chrome/browser/ui/gtk/reload_button_gtk.cc ('k') | chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698