| Index: testing/test_support.cpp
|
| diff --git a/testing/test_support.cpp b/testing/test_support.cpp
|
| index c50edeba2da888e68b971dbca25cb8a5d2d59a88..701ebfa777ddeb9eae55fec92b7a5864acbff42e 100644
|
| --- a/testing/test_support.cpp
|
| +++ b/testing/test_support.cpp
|
| @@ -77,10 +77,9 @@ void InitializeV8Common(v8::Platform** platform) {
|
| std::unique_ptr<char, pdfium::FreeDeleter> GetFileContents(const char* filename,
|
| size_t* retlen) {
|
| FILE* file = fopen(filename, "rb");
|
| - if (!file) {
|
| - fprintf(stderr, "Failed to open: %s\n", filename);
|
| + if (!file)
|
| return nullptr;
|
| - }
|
| +
|
| (void)fseek(file, 0, SEEK_END);
|
| size_t file_length = ftell(file);
|
| if (!file_length) {
|
|
|