aboutsummaryrefslogtreecommitdiff
path: root/third_party/chromium/base/json/json_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/chromium/base/json/json_writer.cc')
-rw-r--r--third_party/chromium/base/json/json_writer.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/chromium/base/json/json_writer.cc b/third_party/chromium/base/json/json_writer.cc
index be19c93..060bce9 100644
--- a/third_party/chromium/base/json/json_writer.cc
+++ b/third_party/chromium/base/json/json_writer.cc
@@ -127,9 +127,7 @@ bool JSONWriter::BuildJSONString(const Value& node, size_t depth) {
bool first_value_has_been_output = false;
bool result = node.GetAsList(&list);
DCHECK(result);
- for (ListValue::const_iterator it = list->begin(); it != list->end();
- ++it) {
- const Value* value = *it;
+ for (const auto& value : *list) {
if (omit_binary_values_ && value->GetType() == Value::TYPE_BINARY)
continue;