Index: chrome/service/cloud_print/print_system_cups.cc |
diff --git a/chrome/service/cloud_print/print_system_cups.cc b/chrome/service/cloud_print/print_system_cups.cc |
index e3440c788449823c745a82a140f368661b85cf53..cbaf2cd91ac87d3120fa757a9cccf7cce88d596a 100644 |
--- a/chrome/service/cloud_print/print_system_cups.cc |
+++ b/chrome/service/cloud_print/print_system_cups.cc |
@@ -510,8 +510,7 @@ bool PrintSystemCUPS::IsValidPrinter(const std::string& printer_name) { |
bool PrintSystemCUPS::ValidatePrintTicket(const std::string& printer_name, |
const std::string& print_ticket_data) { |
DCHECK(initialized_); |
- scoped_ptr<Value> ticket_value(base::JSONReader::Read(print_ticket_data, |
- false)); |
+ scoped_ptr<Value> ticket_value(base::JSONReader::Read(print_ticket_data)); |
return ticket_value != NULL && ticket_value->IsType(Value::TYPE_DICTIONARY); |
} |
@@ -520,7 +519,7 @@ bool PrintSystemCUPS::ParsePrintTicket( |
const std::string& print_ticket, |
std::map<std::string, std::string>* options) { |
DCHECK(options); |
- scoped_ptr<Value> ticket_value(base::JSONReader::Read(print_ticket, false)); |
+ scoped_ptr<Value> ticket_value(base::JSONReader::Read(print_ticket)); |
if (ticket_value == NULL || !ticket_value->IsType(Value::TYPE_DICTIONARY)) |
return false; |