From d8710ad7201d4012125a37c7f82fa766a27b585c Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Thu, 12 Jun 2014 16:44:57 +1200 Subject: [PATCH] b=1023697 use MediaStream to convert stream time to seconds in HTMLMediaElement r=roc --HG-- extra : transplant_source : %7D%AF%00%8F%0F4%E3%3C.%F7%E2%92%BA%CB%92%0E/%19%CFM --- content/html/content/src/HTMLMediaElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/html/content/src/HTMLMediaElement.cpp b/content/html/content/src/HTMLMediaElement.cpp index 2b029d76ccfd..ad2b00952734 100644 --- a/content/html/content/src/HTMLMediaElement.cpp +++ b/content/html/content/src/HTMLMediaElement.cpp @@ -1280,7 +1280,7 @@ HTMLMediaElement::CurrentTime() const if (mSrcStream) { MediaStream* stream = GetSrcMediaStream(); if (stream) { - return MediaTimeToSeconds(stream->GetCurrentTime()); + return stream->StreamTimeToSeconds(stream->GetCurrentTime()); } }