summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_to_mobile_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chrome_to_mobile_service.cc')
-rw-r--r--chrome/browser/chrome_to_mobile_service.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/chrome_to_mobile_service.cc b/chrome/browser/chrome_to_mobile_service.cc
index e4b07f6..840a014 100644
--- a/chrome/browser/chrome_to_mobile_service.cc
+++ b/chrome/browser/chrome_to_mobile_service.cc
@@ -425,7 +425,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 &&
@@ -444,7 +444,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;
@@ -482,7 +482,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);