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

Unified Diff: chrome/browser/autocomplete/search_provider.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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/bookmarks/bookmark_drop_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/search_provider.cc
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc
index 11a335b46b527e54401c8ec4cb7166946d37a3e7..c50b8c801a1013cbf3391ca964289aaab64542a2 100644
--- a/chrome/browser/autocomplete/search_provider.cc
+++ b/chrome/browser/autocomplete/search_provider.cc
@@ -365,7 +365,8 @@ void SearchProvider::StartOrStopSuggestQuery(bool minimal_changes) {
// Kick off a timer that will start the URL fetch if it completes before
// the user types another character.
int delay = query_suggest_immediately_ ? 0 : kQueryDelayMs;
- timer_.Start(TimeDelta::FromMilliseconds(delay), this, &SearchProvider::Run);
+ timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(delay), this,
+ &SearchProvider::Run);
}
bool SearchProvider::IsQuerySuitableForSuggest() const {
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | chrome/browser/bookmarks/bookmark_drop_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698