| Index: Source/platform/JSONValues.cpp
|
| diff --git a/Source/platform/JSONValues.cpp b/Source/platform/JSONValues.cpp
|
| index a3239e7f07b290bf6cd88bf5bb80ab840a6c099a..dd35abba54da5673e4e99189ebdc18c0d1a27522 100644
|
| --- a/Source/platform/JSONValues.cpp
|
| +++ b/Source/platform/JSONValues.cpp
|
| @@ -438,7 +438,7 @@ PassRefPtr<JSONArray> JSONArrayBase::asArray()
|
| void JSONArrayBase::writeJSON(StringBuilder* output) const
|
| {
|
| output->append('[');
|
| - for (Vector<RefPtr<JSONValue> >::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
|
| + for (Vector<RefPtr<JSONValue>>::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
|
| if (it != m_data.begin())
|
| output->append(',');
|
| (*it)->writeJSON(output);
|
| @@ -450,7 +450,7 @@ void JSONArrayBase::prettyWriteJSONInternal(StringBuilder* output, int depth) co
|
| {
|
| output->append('[');
|
| bool lastIsArrayOrObject = false;
|
| - for (Vector<RefPtr<JSONValue> >::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
|
| + for (Vector<RefPtr<JSONValue>>::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
|
| bool isArrayOrObject = (*it)->type() == JSONValue::TypeObject || (*it)->type() == JSONValue::TypeArray;
|
| if (it == m_data.begin()) {
|
| if (isArrayOrObject) {
|
|
|