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

Unified Diff: chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc

Issue 338363004: Remove Profile* from TemplateURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 6 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/profile_resetter/automatic_profile_resetter_delegate.cc
diff --git a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc
index ca878f95ab29dc88d08907c90571ddc2ecda4cab..502b8058c23966317b4ac112b48dfb2a8919d2f2 100644
--- a/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc
+++ b/chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc
@@ -258,7 +258,7 @@ scoped_ptr<base::ListValue> AutomaticProfileResetterDelegateImpl::
scoped_ptr<base::ListValue> engines_details_list(new base::ListValue);
for (ScopedVector<TemplateURLData>::const_iterator it = engines.begin();
it != engines.end(); ++it) {
- TemplateURL template_url(profile_, **it);
+ TemplateURL template_url(**it);
engines_details_list->Append(
BuildSubTreeFromTemplateURL(&template_url).release());
}

Powered by Google App Engine
This is Rietveld 408576698