| 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 60bc875e96aa648c00783897a815fd3889290e9a..481091558205a842040b86588ea48fe52305a906 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);
|
|
|