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

Unified Diff: chrome/browser/ui/gtk/status_bubble_gtk.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/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 df31d84c97b440b2233f439aaac9b90da544decd..d6f61737e79ba0caf6d01f2e1eca4ffeda0b8e4a 100644
--- a/chrome/browser/ui/gtk/status_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/status_bubble_gtk.cc
@@ -100,7 +100,7 @@ void StatusBubbleGtk::SetStatusTextToURL() {
if (!expanded()) {
expand_timer_.Stop();
expand_timer_.Start(base::TimeDelta::FromMilliseconds(kExpandHoverDelay),
- this, &StatusBubbleGtk::ExpandURL);
+ this, &StatusBubbleGtk::ExpandURL, FROM_HERE);
// When not expanded, we limit the size to one third the browser's
// width.
desired_width /= 3;
@@ -134,7 +134,7 @@ void StatusBubbleGtk::SetStatusTextTo(const std::string& status_utf8) {
if (status_utf8.empty()) {
hide_timer_.Stop();
hide_timer_.Start(base::TimeDelta::FromMilliseconds(kHideDelay),
- this, &StatusBubbleGtk::Hide);
+ this, &StatusBubbleGtk::Hide, FROM_HERE);
} else {
gtk_label_set_text(GTK_LABEL(label_.get()), status_utf8.c_str());
GtkRequisition req;

Powered by Google App Engine
This is Rietveld 408576698