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

Unified Diff: chrome/browser/instant/instant_controller.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/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 7334e48026702307fbdfc2473f8424fd2b282d92..5acd71cb8e2f6fb7e659ed849587b19361692854 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -517,7 +517,7 @@ void InstantController::InstantStatusChanged(InstantLoader* loader) {
show_timer_.Stop();
show_timer_.Start(
base::TimeDelta::FromMilliseconds(kShowDelayMS),
- this, &InstantController::ShowTimerFired);
+ this, &InstantController::ShowTimerFired, FROM_HERE);
UpdateDisplayableLoader();
return;
}
@@ -665,7 +665,8 @@ void InstantController::ScheduleUpdate(const GURL& url) {
update_timer_.Stop();
update_timer_.Start(base::TimeDelta::FromMilliseconds(kUpdateDelayMS),
- this, &InstantController::ProcessScheduledUpdate);
+ this, &InstantController::ProcessScheduledUpdate,
+ FROM_HERE);
}
void InstantController::ProcessScheduledUpdate() {
@@ -721,7 +722,7 @@ void InstantController::UpdateLoader(const TemplateURL* template_url,
if (!new_loader->http_status_ok()) {
show_timer_.Start(
base::TimeDelta::FromMilliseconds(kShowDelayMS),
- this, &InstantController::ShowTimerFired);
+ this, &InstantController::ShowTimerFired, FROM_HERE);
}
}
UpdateDisplayableLoader();

Powered by Google App Engine
This is Rietveld 408576698