| Index: content/common/gpu/media/video_encode_accelerator_unittest.cc
|
| diff --git a/content/common/gpu/media/video_encode_accelerator_unittest.cc b/content/common/gpu/media/video_encode_accelerator_unittest.cc
|
| index 0a7cf2d096a4a9927a6ea157fc3e4a3a3609fa16..76fe336d97e6ac2101931297c20822bd1abc6800 100644
|
| --- a/content/common/gpu/media/video_encode_accelerator_unittest.cc
|
| +++ b/content/common/gpu/media/video_encode_accelerator_unittest.cc
|
| @@ -825,11 +825,10 @@ void VEAClient::BitstreamBufferReady(int32 bitstream_buffer_id,
|
|
|
| if (save_to_file_) {
|
| int size = base::checked_cast<int>(payload_size);
|
| - EXPECT_EQ(base::AppendToFile(
|
| - base::FilePath::FromUTF8Unsafe(test_stream_->out_filename),
|
| - static_cast<char*>(shm->memory()),
|
| - size),
|
| - size);
|
| + EXPECT_TRUE(base::AppendToFile(
|
| + base::FilePath::FromUTF8Unsafe(test_stream_->out_filename),
|
| + static_cast<char*>(shm->memory()),
|
| + size));
|
| }
|
|
|
| FeedEncoderWithOutput(shm);
|
|
|