| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index f66f59c4422ba466b0ee4f8c44bcdb3692db78c2..a407f910cd9186d26b37a747032ce9d505539959 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -567,11 +567,6 @@ void HTMLMediaElement::finishParsingChildren()
|
| scheduleDelayedAction(LoadTextTrackResource);
|
| }
|
|
|
| -bool HTMLMediaElement::layoutObjectIsNeeded(const ComputedStyle& style)
|
| -{
|
| - return shouldShowControls() && HTMLElement::layoutObjectIsNeeded(style);
|
| -}
|
| -
|
| LayoutObject* HTMLMediaElement::createLayoutObject(const ComputedStyle&)
|
| {
|
| return new LayoutMedia(this);
|
|
|