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

Unified Diff: chrome/browser/task_profiler/task_profiler_data_serializer.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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.cc
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.cc b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
index 6f4b52ee948b7368ac23902116ec48cea5d14bb9..ffc07fc96fdf73f35ee9c7a17893636c2304a74b 100644
--- a/chrome/browser/task_profiler/task_profiler_data_serializer.cc
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
@@ -52,7 +52,7 @@ void BirthOnThreadSnapshotToValue(const BirthOnThreadSnapshot& birth,
dictionary->Set(prefix + "_location", location_value.release());
dictionary->Set(prefix + "_thread",
- new base::StringValue(birth.sanitized_thread_name));
+ new base::Value(birth.sanitized_thread_name));
}
// Re-serializes the |death_data| into |dictionary|.

Powered by Google App Engine
This is Rietveld 408576698