Chromium Code Reviews| Index: media/filters/test_video_renderer.h |
| =================================================================== |
| --- media/filters/test_video_renderer.h (revision 10301) |
| +++ media/filters/test_video_renderer.h (working copy) |
| @@ -31,6 +31,9 @@ |
| scoped_refptr<VideoFrame> frame; |
| GetCurrentFrame(&frame); |
| if (frame.get()) { |
| + VideoSurface video_surface; |
| + EXPECT_TRUE(frame->Lock(&video_surface)); |
| + frame->Unlock(); |
| if (frame != last_frame_) { |
| ++unique_frames_; |
| last_frame_ = frame; |