Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1877)

Unified Diff: Source/core/rendering/RenderVideo.cpp

Issue 568763002: Replace HTMLMediaElement::player() calls with webMediaPlayer() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderVideo.cpp
diff --git a/Source/core/rendering/RenderVideo.cpp b/Source/core/rendering/RenderVideo.cpp
index 13f1cd1e58b5c9e453a683bd2a97ed219a00fc24..ffee7ff48de6fe59c997748e8bde365e22ab502a 100644
--- a/Source/core/rendering/RenderVideo.cpp
+++ b/Source/core/rendering/RenderVideo.cpp
@@ -144,7 +144,7 @@ bool RenderVideo::shouldDisplayVideo() const
void RenderVideo::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
- MediaPlayer* mediaPlayer = mediaElement()->player();
+ WebMediaPlayer* mediaPlayer = mediaElement()->webMediaPlayer();
bool displayingPoster = videoElement()->shouldDisplayPosterImage();
if (!displayingPoster && !mediaPlayer)
return;
@@ -199,7 +199,7 @@ void RenderVideo::updatePlayer()
{
updateIntrinsicSize();
- MediaPlayer* mediaPlayer = mediaElement()->player();
+ WebMediaPlayer* mediaPlayer = mediaElement()->webMediaPlayer();
if (!mediaPlayer)
return;
« no previous file with comments | « Source/core/html/HTMLVideoElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698