Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp

Issue 1373423003: Remove MediaController (already diabled by REF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update web-platform-tests expectations Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
index 572cc5053984ff7afb03cd2a6b14b366fe908731..aa055f19b066f2a093872b23056e8f683f5dbe48 100644
--- a/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/MediaControlsPainter.cpp
@@ -163,7 +163,7 @@ bool MediaControlsPainter::paintMediaOverlayPlayButton(const LayoutObject& objec
if (!mediaElement)
return false;
- if (!hasSource(mediaElement) || !mediaElement->togglePlayStateWillPlay())
+ if (!hasSource(mediaElement) || !mediaElement->paused())
return false;
static Image* mediaOverlayPlay = platformResource("mediaplayerOverlayPlay",

Powered by Google App Engine