Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index db540f68910eddd8669582481547f21a7732326a..6e8de1f8d57f4d5d248ae83d7d624db576367a84 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -218,6 +218,10 @@ class MEDIA_EXPORT WebMediaPlayerImpl |
void OnCdmAttached(blink::WebContentDecryptionModuleResult result, |
bool success); |
+ // Updates |paused_time_| to the current media time with consideration for the |
+ // |ended_| state by clamping current time to duration upon |ended_|. |
+ void UpdatePausedTime(); |
+ |
blink::WebLocalFrame* frame_; |
// TODO(hclam): get rid of these members and read from the pipeline directly. |