Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: media/base/video_frame_pool_unittest.cc

Issue 1227383003: Remove memset from VideoFrame and mark buffer as unpoisoned (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dalecurtis@ comments. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/video_frame_pool_unittest.cc
diff --git a/media/base/video_frame_pool_unittest.cc b/media/base/video_frame_pool_unittest.cc
index 7f3694b9f6dc540803a3134de14d2bed290c3ddc..be7874c88cec2ee9bb93e051bec53d83238e4aea 100644
--- a/media/base/video_frame_pool_unittest.cc
+++ b/media/base/video_frame_pool_unittest.cc
@@ -17,10 +17,9 @@ class VideoFramePoolTest : public ::testing::Test {
gfx::Rect visible_rect(coded_size);
gfx::Size natural_size(coded_size);
- scoped_refptr<VideoFrame> frame =
- pool_->CreateFrame(
- format, coded_size, visible_rect, natural_size,
- base::TimeDelta::FromMilliseconds(timestamp_ms));
+ scoped_refptr<VideoFrame> frame = pool_->CreateFrame(
+ format, coded_size, visible_rect, natural_size,
+ base::TimeDelta::FromMilliseconds(timestamp_ms), false);
EXPECT_EQ(format, frame->format());
EXPECT_EQ(base::TimeDelta::FromMilliseconds(timestamp_ms),
frame->timestamp());

Powered by Google App Engine
This is Rietveld 408576698