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 54ee38fc7a8f1eaf2a1435751df81227c14b1da5..017a99b60c1bf26590090dff2eb16b67cfce71c7 100644 |
--- a/chrome/service/cloud_print/print_system_cups.cc |
+++ b/chrome/service/cloud_print/print_system_cups.cc |
@@ -500,7 +500,7 @@ bool PrintSystemCUPS::ValidatePrintTicket(const std::string& printer_name, |
DCHECK(initialized_); |
scoped_ptr<Value> ticket_value(base::JSONReader::Read(print_ticket_data, |
false)); |
- return ticket_value != NULL && ticket_value->IsType(Value::TYPE_DICTIONARY); |
+ return ticket_value != NULL && ticket_value->IsDictionary(); |
} |
// Print ticket on linux is a JSON string containing only one dictionary. |
@@ -508,7 +508,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)); |
- if (ticket_value == NULL || !ticket_value->IsType(Value::TYPE_DICTIONARY)) |
+ if (ticket_value == NULL || !ticket_value->IsDictionary()) |
return false; |
options->clear(); |