Index: Source/core/html/HTMLMediaElement.cpp |
=================================================================== |
--- Source/core/html/HTMLMediaElement.cpp (revision 156221) |
+++ Source/core/html/HTMLMediaElement.cpp (working copy) |
@@ -370,16 +370,8 @@ |
HTMLElement::didMoveToNewDocument(oldDocument); |
} |
-bool HTMLMediaElement::hasCustomFocusLogic() const |
-{ |
- return true; |
-} |
- |
bool HTMLMediaElement::supportsFocus() const |
{ |
- if (ownerDocument()->isMediaDocument()) |
- return false; |
- |
// If no controls specified, we should still be able to focus the element if it has tabIndex. |
return controls() || HTMLElement::supportsFocus(); |
} |