Index: components/flags_ui/flags_state.cc |
diff --git a/components/flags_ui/flags_state.cc b/components/flags_ui/flags_state.cc |
index 58425f4cffb703b1cb0d49af33cb75e990e0a6e9..43185bc7c90a13dec1fe79c3f58ad6657718e10c 100644 |
--- a/components/flags_ui/flags_state.cc |
+++ b/components/flags_ui/flags_state.cc |
@@ -82,7 +82,7 @@ const struct { |
void AddOsStrings(unsigned bitmask, base::ListValue* list) { |
for (size_t i = 0; i < arraysize(kBitsToOs); ++i) { |
if (bitmask & kBitsToOs[i].bit) |
- list->Append(new base::StringValue(kBitsToOs[i].name)); |
+ list->AppendString(kBitsToOs[i].name); |
} |
} |