Index: content/renderer/media/android/webmediaplayer_android.cc |
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc |
index 34e780c291d4a2a19c7d4c0235b99c253204ab13..2b491da4ad34cf82162c616463c3de3202a1f3d9 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.cc |
+++ b/content/renderer/media/android/webmediaplayer_android.cc |
@@ -1292,7 +1292,7 @@ bool WebMediaPlayerAndroid::UpdateCurrentFrame(base::TimeTicks deadline_min, |
bool WebMediaPlayerAndroid::HasCurrentFrame() { |
base::AutoLock auto_lock(current_frame_lock_); |
- return current_frame_; |
+ return static_cast<bool>(current_frame_); |
} |
scoped_refptr<media::VideoFrame> WebMediaPlayerAndroid::GetCurrentFrame() { |