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", |