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

Unified Diff: components/search_provider_logos/logo_cache.cc

Issue 1131113004: Convert JsonWriter::Write to taking a const ref for the in-param (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another rebase Created 5 years, 7 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: components/search_provider_logos/logo_cache.cc
diff --git a/components/search_provider_logos/logo_cache.cc b/components/search_provider_logos/logo_cache.cc
index bfa419eebd9a4733038b36a2f6e767dc3b6465c6..c6272ee58014cda85d687e803cc1c5fca4e068e6 100644
--- a/components/search_provider_logos/logo_cache.cc
+++ b/components/search_provider_logos/logo_cache.cc
@@ -152,7 +152,7 @@ void LogoCache::LogoMetadataToString(const LogoMetadata& metadata,
metadata.can_show_after_expiration);
dict.SetInteger(kNumBytesKey, num_bytes);
SetTimeValue(dict, kExpirationTimeKey, metadata.expiration_time);
- base::JSONWriter::Write(&dict, str);
+ base::JSONWriter::Write(dict, str);
}
base::FilePath LogoCache::GetLogoPath() {
« no previous file with comments | « components/search_engines/keyword_table.cc ('k') | components/search_provider_logos/logo_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698