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

Unified Diff: components/search_engines/keyword_table.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: fix platform specific stuff 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_engines/keyword_table.cc
diff --git a/components/search_engines/keyword_table.cc b/components/search_engines/keyword_table.cc
index 59dff732bdc2f88be61f53249dfc8d46c47e0e9f..21cce7eec52b27b5d242c81e3c7ee28871796018 100644
--- a/components/search_engines/keyword_table.cc
+++ b/components/search_engines/keyword_table.cc
@@ -100,7 +100,7 @@ void BindURLToStatement(const TemplateURLData& data,
for (size_t i = 0; i < data.alternate_urls.size(); ++i)
alternate_urls_value.AppendString(data.alternate_urls[i]);
std::string alternate_urls;
- base::JSONWriter::Write(&alternate_urls_value, &alternate_urls);
+ base::JSONWriter::Write(alternate_urls_value, &alternate_urls);
s->BindInt64(id_column, data.id);
s->BindString16(starting_column, data.short_name);

Powered by Google App Engine
This is Rietveld 408576698