Index: extensions/renderer/argument_spec_unittest.cc |
diff --git a/extensions/renderer/argument_spec_unittest.cc b/extensions/renderer/argument_spec_unittest.cc |
index 7bdda59099ac56ace971c7093bea8e8e23abe9f9..a580a74549f0e9d8c749257a8af8c50fce00d3b3 100644 |
--- a/extensions/renderer/argument_spec_unittest.cc |
+++ b/extensions/renderer/argument_spec_unittest.cc |
@@ -303,18 +303,16 @@ TEST_F(ArgumentSpecUnitTest, Test) { |
{ |
// A non-empty (but zero-filled) ArrayBufferView. |
const char kBuffer[] = {0, 0, 0, 0}; |
- std::unique_ptr<base::BinaryValue> expected_value = |
- base::BinaryValue::CreateWithCopiedBuffer(kBuffer, |
- arraysize(kBuffer)); |
+ std::unique_ptr<base::Value> expected_value = |
+ base::Value::CreateWithCopiedBuffer(kBuffer, arraysize(kBuffer)); |
ASSERT_TRUE(expected_value); |
ExpectSuccessWithNoConversion(spec, "(new Int32Array(2))"); |
} |
{ |
// Actual data. |
const char kBuffer[] = {'p', 'i', 'n', 'g'}; |
- std::unique_ptr<base::BinaryValue> expected_value = |
- base::BinaryValue::CreateWithCopiedBuffer(kBuffer, |
- arraysize(kBuffer)); |
+ std::unique_ptr<base::Value> expected_value = |
+ base::Value::CreateWithCopiedBuffer(kBuffer, arraysize(kBuffer)); |
ASSERT_TRUE(expected_value); |
ExpectSuccess(spec, |
"var b = new ArrayBuffer(4);\n" |