Chromium Code Reviews| Index: core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp |
| diff --git a/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp b/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp |
| index 62f1357572e62ec3b2f9b35ec987a5d20967621f..d3dc5257a37362ca851e12c9b12f6b4c950de689 100644 |
| --- a/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp |
| +++ b/core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp |
| @@ -204,9 +204,10 @@ TEST_F(PDFObjectsTest, GetUnicodeText) { |
| L"\t\n", L"space", L"", L"", L"abcdefghijklmnopqrstuvwxyz", |
| L""}; |
| // Check for direct objects. |
| - for (size_t i = 0; i < m_DirectObjs.size(); ++i) |
| + for (size_t i = 0; i < m_DirectObjs.size(); ++i) { |
|
Tom Sepez
2016/04/19 21:45:09
Is this a stray file from some other cleanup? No
dsinclair
2016/04/20 13:19:39
This test failed due to the inlined c_str, I fixed
|
| EXPECT_STREQ(direct_obj_results[i], |
| m_DirectObjs[i]->GetUnicodeText().c_str()); |
| + } |
| // Check indirect references. |
| for (const auto& it : m_RefObjs) |