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

Unified Diff: components/webcrypto/jwk.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/webcrypto/jwk.cc
diff --git a/components/webcrypto/jwk.cc b/components/webcrypto/jwk.cc
index 4e1781d20214587d2d962070fb57a0996853220c..8a9ad74b8631ef7accd694abd15e6dd3b89632a5 100644
--- a/components/webcrypto/jwk.cc
+++ b/components/webcrypto/jwk.cc
@@ -369,7 +369,7 @@ void JwkWriter::SetBytes(const std::string& member_name,
void JwkWriter::ToJson(std::vector<uint8_t>* utf8_bytes) const {
std::string json;
- base::JSONWriter::Write(&dict_, &json);
+ base::JSONWriter::Write(dict_, &json);
utf8_bytes->assign(json.begin(), json.end());
}
« no previous file with comments | « components/search_provider_logos/logo_tracker_unittest.cc ('k') | components/webcrypto/test/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698