summaryrefslogtreecommitdiffstats
path: root/media/blink/webmediaplayer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/blink/webmediaplayer_impl.h')
-rw-r--r--media/blink/webmediaplayer_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index db540f6..6e8de1f 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.