Index: core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp b/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
index 41a49cadaba69fb501d0dc7955862c1f15cc571e..ef9b65c5c49662e5600aafced3f00b318e705634 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
@@ -109,7 +109,7 @@ TEST(cpdf_array, Clone) { |
ScopedArray arr(new CPDF_Array); |
// Indirect references to indirect objects. |
std::unique_ptr<CPDF_IndirectObjectHolder> obj_holder( |
- new CPDF_IndirectObjectHolder(nullptr)); |
+ new CPDF_IndirectObjectHolder()); |
for (size_t i = 0; i < kNumOfRows; ++i) { |
CPDF_Array* arr_elem = new CPDF_Array; |
for (size_t j = 0; j < kNumOfRowElems; ++j) { |