Index: chrome/browser/spellchecker/spelling_service_client.cc |
diff --git a/chrome/browser/spellchecker/spelling_service_client.cc b/chrome/browser/spellchecker/spelling_service_client.cc |
index 85bbc47feb9f5d0b894a13455113d17ec34c486c..1b406dd32e067ea9867724b4d27cf96da45c6d7e 100644 |
--- a/chrome/browser/spellchecker/spelling_service_client.cc |
+++ b/chrome/browser/spellchecker/spelling_service_client.cc |
@@ -153,7 +153,8 @@ bool SpellingServiceClient::ParseResponse( |
// } |
// } |
scoped_ptr<DictionaryValue> value( |
- static_cast<DictionaryValue*>(base::JSONReader::Read(data, true))); |
+ static_cast<DictionaryValue*>( |
+ base::JSONReader::Read(data, base::JSON_ALLOW_TRAILING_COMMAS))); |
if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY)) |
return false; |