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

Unified Diff: chrome/browser/task_profiler/task_profiler_data_serializer_unittest.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: chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc b/chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc
index da040b78bab0302146de9edecabeee271ab167fb..5567eec6c918a41ed608de27d14a2560689861eb 100644
--- a/chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer_unittest.cc
@@ -26,7 +26,7 @@ void ExpectSerialization(
process_data_phase, process_id, process_type, &serialized_value);
std::string serialized_json;
- base::JSONWriter::Write(&serialized_value, &serialized_json);
+ base::JSONWriter::Write(serialized_value, &serialized_json);
EXPECT_EQ(expected_json, serialized_json);
}

Powered by Google App Engine
This is Rietveld 408576698