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
This commit is contained in:
Karl Tomlinson 2014-06-12 16:44:57 +12:00
parent 157b4b4902
commit 979579bad3

View File

@ -1280,7 +1280,7 @@ HTMLMediaElement::CurrentTime() const
if (mSrcStream) {
MediaStream* stream = GetSrcMediaStream();
if (stream) {
return MediaTimeToSeconds(stream->GetCurrentTime());
return stream->StreamTimeToSeconds(stream->GetCurrentTime());
}
}