Index: cc/test/fake_video_frame_provider.cc |
diff --git a/cc/test/fake_video_frame_provider.cc b/cc/test/fake_video_frame_provider.cc |
index 01455446af0d367c6345af0e03a25c1ee9e5382d..d908c9d02a136d86d9f3184319e1ce1be12e44fa 100644 |
--- a/cc/test/fake_video_frame_provider.cc |
+++ b/cc/test/fake_video_frame_provider.cc |
@@ -25,7 +25,7 @@ void FakeVideoFrameProvider::SetVideoFrameProviderClient(Client* client) { |
} |
bool FakeVideoFrameProvider::HasCurrentFrame() { |
- return frame_; |
+ return static_cast<bool>(frame_); |
} |
scoped_refptr<media::VideoFrame> FakeVideoFrameProvider::GetCurrentFrame() { |