summaryrefslogtreecommitdiffstats
path: root/extensions/browser/api/printer_provider/printer_provider_apitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/browser/api/printer_provider/printer_provider_apitest.cc')
-rw-r--r--extensions/browser/api/printer_provider/printer_provider_apitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/browser/api/printer_provider/printer_provider_apitest.cc b/extensions/browser/api/printer_provider/printer_provider_apitest.cc
index 0a4662a..84e47f7 100644
--- a/extensions/browser/api/printer_provider/printer_provider_apitest.cc
+++ b/extensions/browser/api/printer_provider/printer_provider_apitest.cc
@@ -212,10 +212,10 @@ class PrinterProviderApiTest : public extensions::ShellApiTest {
const std::vector<std::string>& expected_printers) {
ASSERT_EQ(expected_printers.size(), printers.GetSize());
for (size_t i = 0; i < expected_printers.size(); ++i) {
- JSONStringValueSerializer serializer(expected_printers[i]);
+ JSONStringValueDeserializer deserializer(expected_printers[i]);
int error_code;
scoped_ptr<base::Value> printer_value(
- serializer.Deserialize(&error_code, NULL));
+ deserializer.Deserialize(&error_code, NULL));
ASSERT_TRUE(printer_value) << "Failed to deserialize "
<< expected_printers[i] << ": "
<< "error code " << error_code;