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

Unified Diff: Source/core/accessibility/AXMediaControls.cpp

Issue 200713004: Replace HTMLMediaElement::isVideo() with isHTMLVideoElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | « no previous file | Source/core/html/HTMLAudioElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXMediaControls.cpp
diff --git a/Source/core/accessibility/AXMediaControls.cpp b/Source/core/accessibility/AXMediaControls.cpp
index ca7113e428e1440f4f187d11f0fba5b926a52388..7b7d52f620e45deabb7f97be82b6132e6662a561 100644
--- a/Source/core/accessibility/AXMediaControls.cpp
+++ b/Source/core/accessibility/AXMediaControls.cpp
@@ -229,7 +229,7 @@ bool AXMediaControlsContainer::controllingVideoElement() const
MediaControlTimeDisplayElement* element = static_cast<MediaControlTimeDisplayElement*>(m_renderer->node());
- return toParentMediaElement(element)->isVideo();
+ return isHTMLVideoElement(toParentMediaElement(element));
}
bool AXMediaControlsContainer::computeAccessibilityIsIgnored() const
« no previous file with comments | « no previous file | Source/core/html/HTMLAudioElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698