| Index: Source/modules/mediasource/HTMLVideoElementMediaSource.cpp
|
| diff --git a/Source/modules/mediasource/HTMLVideoElementMediaSource.cpp b/Source/modules/mediasource/HTMLVideoElementMediaSource.cpp
|
| index efb416e0ced33c87b06ff8a804e1d3c5650759de..a4c65a2c0605040e7ddd0862bbf361916e3c1285 100644
|
| --- a/Source/modules/mediasource/HTMLVideoElementMediaSource.cpp
|
| +++ b/Source/modules/mediasource/HTMLVideoElementMediaSource.cpp
|
| @@ -40,19 +40,19 @@ HTMLVideoElementMediaSource::HTMLVideoElementMediaSource() { }
|
|
|
| HTMLVideoElementMediaSource::~HTMLVideoElementMediaSource() { }
|
|
|
| -PassRefPtrWillBeRawPtr<VideoPlaybackQuality> HTMLVideoElementMediaSource::getVideoPlaybackQuality(HTMLVideoElement* videoElement)
|
| +PassRefPtrWillBeRawPtr<VideoPlaybackQuality> HTMLVideoElementMediaSource::getVideoPlaybackQuality(HTMLVideoElement& videoElement)
|
| {
|
| unsigned total = 0;
|
| unsigned dropped = 0;
|
| unsigned corrupted = 0;
|
| - MediaPlayer* player = videoElement->player();
|
| + MediaPlayer* player = videoElement.player();
|
| if (player) {
|
| total = player->decodedFrameCount();
|
| dropped = player->droppedFrameCount();
|
| corrupted = player->corruptedFrameCount();
|
| }
|
|
|
| - return VideoPlaybackQuality::create(videoElement->document(), total, dropped, corrupted);
|
| + return VideoPlaybackQuality::create(videoElement.document(), total, dropped, corrupted);
|
| }
|
|
|
| }
|
|
|