Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 07f19320cc89bea4fcbf4fe4835a3800a2172905..7ce3a799ecdeab9fd72d80cc3f72c850d9cdb407 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. |