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 ef9b65c5c49662e5600aafced3f00b318e705634..f08ee6ca63ed1b03f1f91693fa20ddb39dd5a0f1 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
+++ b/core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp |
@@ -117,8 +117,7 @@ TEST(cpdf_array, Clone) { |
// Starts object number from 1. |
int obj_num = i * kNumOfRowElems + j + 1; |
obj_holder->ReplaceIndirectObjectIfHigherGeneration(obj_num, obj); |
- arr_elem->InsertAt(j, new CPDF_Reference(obj_holder.get(), obj_num), |
- obj_holder.get()); |
+ arr_elem->InsertAt(j, new CPDF_Reference(obj_holder.get(), obj_num)); |
} |
arr->InsertAt(i, arr_elem); |
} |