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

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

Issue 26759003: Remove HTMLMediaElement.webkitHasClosedCaptions/webkitClosedCaptionsVisible (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase to resolve conflicts Created 7 years, 2 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/HTMLMediaElement.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMediaControls.cpp
diff --git a/Source/core/rendering/RenderMediaControls.cpp b/Source/core/rendering/RenderMediaControls.cpp
index c117c5855460ec9a4fda8bd9008fbc136f61c304..88cb4695732ece8fa6a7315e9de6896f4e769b4c 100644
--- a/Source/core/rendering/RenderMediaControls.cpp
+++ b/Source/core/rendering/RenderMediaControls.cpp
@@ -334,7 +334,7 @@ static bool paintMediaToggleClosedCaptionsButton(RenderObject* object, const Pai
static Image* mediaClosedCaptionButton = platformResource("mediaplayerClosedCaption");
static Image* mediaClosedCaptionButtonDisabled = platformResource("mediaplayerClosedCaptionDisabled");
- if (mediaElement->webkitClosedCaptionsVisible())
+ if (mediaElement->closedCaptionsVisible())
return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButton);
return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButtonDisabled);
« no previous file with comments | « Source/core/html/HTMLMediaElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698