Index: chrome/browser/chrome_to_mobile_service.cc |
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc |
index bbe3b93ca75d432f83d7f1cbe8b70f48e96ea532..96f7bf2c3ad15463f231bab81742fe822f1c1355 100644 |
--- a/chrome/browser/chrome_to_mobile_service.cc |
+++ b/chrome/browser/chrome_to_mobile_service.cc |
@@ -406,7 +406,7 @@ void ChromeToMobileService::HandleAccountInfoResponse() { |
ListValue* services = NULL; |
DictionaryValue* dictionary = NULL; |
- scoped_ptr<Value> json(base::JSONReader::Read(data, false)); |
+ scoped_ptr<Value> json(base::JSONReader::Read(data)); |
StringValue cloud_print_service(kCloudPrintSerivceValue); |
if (json.get() && json->GetAsDictionary(&dictionary) && dictionary && |
dictionary->GetList(kAccountServicesKey, &services) && services && |
@@ -425,7 +425,7 @@ void ChromeToMobileService::HandleSearchResponse() { |
ListValue* list = NULL; |
DictionaryValue* dictionary = NULL; |
- scoped_ptr<Value> json(base::JSONReader::Read(data, false)); |
+ scoped_ptr<Value> json(base::JSONReader::Read(data)); |
if (json.get() && json->GetAsDictionary(&dictionary) && dictionary && |
dictionary->GetList(cloud_print::kPrinterListValue, &list)) { |
ScopedVector<base::DictionaryValue> mobiles; |
@@ -463,7 +463,7 @@ void ChromeToMobileService::HandleSubmitResponse( |
source->GetResponseAsString(&data); |
bool success = false; |
DictionaryValue* dictionary = NULL; |
- scoped_ptr<Value> json(base::JSONReader::Read(data, false)); |
+ scoped_ptr<Value> json(base::JSONReader::Read(data)); |
if (json.get() && json->GetAsDictionary(&dictionary) && dictionary) |
dictionary->GetBoolean("success", &success); |