| Index: content/browser/file_descriptor_info_impl_unittest.cc
|
| diff --git a/content/browser/file_descriptor_info_impl_unittest.cc b/content/browser/file_descriptor_info_impl_unittest.cc
|
| index e14dc3120d4a57cdc5ff5388efac02f3c7f9181c..1d442f796820f283f47f83ac9c134c68f0e14bbe 100644
|
| --- a/content/browser/file_descriptor_info_impl_unittest.cc
|
| +++ b/content/browser/file_descriptor_info_impl_unittest.cc
|
| @@ -77,10 +77,10 @@ TEST_F(FileDescriptorInfoTest, GetMappingWithIDAdjustment) {
|
| target->Transfer(testingId1, base::ScopedFD(GetSafeFd()));
|
| target->Transfer(testingId2, base::ScopedFD(GetSafeFd()));
|
|
|
| - base::FileHandleMappingVector mapping =
|
| + std::unique_ptr<base::FileHandleMappingVector> mapping =
|
| target->GetMappingWithIDAdjustment(100);
|
| - ASSERT_EQ(mapping[0].second, 142);
|
| - ASSERT_EQ(mapping[1].second, 143);
|
| + ASSERT_EQ((*mapping)[0].second, 142);
|
| + ASSERT_EQ((*mapping)[1].second, 143);
|
| }
|
|
|
| } // namespace content
|
|
|