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

Unified Diff: chrome/browser/ui/webui/prefs_internals_source.cc

Issue 2799143002: Improve profile stats performace. (Closed)
Patch Set: Always Created 3 years, 8 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/prefs_internals_source.cc
diff --git a/chrome/browser/ui/webui/prefs_internals_source.cc b/chrome/browser/ui/webui/prefs_internals_source.cc
index a8606d0f176b97207f272b4bc2bdda9e72e63128..000d472ddb1695a5b39653a1a33a8140ff932a03 100644
--- a/chrome/browser/ui/webui/prefs_internals_source.cc
+++ b/chrome/browser/ui/webui/prefs_internals_source.cc
@@ -34,7 +34,7 @@ void PrefsInternalsSource::StartDataRequest(
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
std::string json;
std::unique_ptr<base::DictionaryValue> prefs =
- profile_->GetPrefs()->GetPreferenceValues();
+ profile_->GetPrefs()->GetPreferenceValues(true);
DCHECK(prefs);
CHECK(base::JSONWriter::WriteWithOptions(
*prefs, base::JSONWriter::OPTIONS_PRETTY_PRINT, &json));

Powered by Google App Engine
This is Rietveld 408576698