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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_ui.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/webui/ntp/new_tab_ui.cc
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
index b0ce3836a0eda0d462636de44178f08a473a914c..99f38f024cdcaa766a8155c62ff6c417235af49b 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
@@ -279,7 +279,7 @@ void NewTabUI::PaintTimeout() {
// Some more paints must've occurred since we set the timeout.
// Wait some more.
timer_.Start(base::TimeDelta::FromMilliseconds(kTimeoutMs), this,
- &NewTabUI::PaintTimeout);
+ &NewTabUI::PaintTimeout, FROM_HERE);
}
}
@@ -289,7 +289,7 @@ void NewTabUI::StartTimingPaint(RenderViewHost* render_view_host) {
registrar_.Add(this, content::NOTIFICATION_RENDER_WIDGET_HOST_DID_PAINT,
Source<RenderWidgetHost>(render_view_host));
timer_.Start(base::TimeDelta::FromMilliseconds(kTimeoutMs), this,
- &NewTabUI::PaintTimeout);
+ &NewTabUI::PaintTimeout, FROM_HERE);
}
void NewTabUI::RenderViewCreated(RenderViewHost* render_view_host) {

Powered by Google App Engine
This is Rietveld 408576698