summaryrefslogtreecommitdiffstats
path: root/webkit/media/video_renderer_impl_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/media/video_renderer_impl_unittest.cc')
-rw-r--r--webkit/media/video_renderer_impl_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/media/video_renderer_impl_unittest.cc b/webkit/media/video_renderer_impl_unittest.cc
index 0bd95a7..3afe623 100644
--- a/webkit/media/video_renderer_impl_unittest.cc
+++ b/webkit/media/video_renderer_impl_unittest.cc
@@ -167,14 +167,14 @@ TEST_F(VideoRendererImplTest, SlowPaint_Smaller) {
TEST_F(VideoRendererImplTest, FastPaint_NoTimestamp) {
VideoFrame* video_frame = natural_frame();
- video_frame->SetTimestamp(media::kNoTimestamp);
+ video_frame->SetTimestamp(media::kNoTimestamp());
Paint(video_frame, fast_path_canvas(), kRed);
EXPECT_EQ(SK_ColorRED, GetColor(fast_path_canvas()));
}
TEST_F(VideoRendererImplTest, SlowPaint_NoTimestamp) {
VideoFrame* video_frame = natural_frame();
- video_frame->SetTimestamp(media::kNoTimestamp);
+ video_frame->SetTimestamp(media::kNoTimestamp());
Paint(video_frame, slow_path_canvas(), kRed);
EXPECT_EQ(SK_ColorRED, GetColor(slow_path_canvas()));
}