| Index: Source/core/html/shadow/MediaControlElements.cpp
|
| diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
|
| index 170b04b70f88b11f5c73c640e6d03362ecf3708f..861aecf90c7c4ca564be2386cda2c381766424f3 100644
|
| --- a/Source/core/html/shadow/MediaControlElements.cpp
|
| +++ b/Source/core/html/shadow/MediaControlElements.cpp
|
| @@ -600,7 +600,7 @@ const AtomicString& MediaControlCurrentTimeDisplayElement::shadowPseudoId() cons
|
|
|
| MediaControlTextTrackContainerElement::MediaControlTextTrackContainerElement(MediaControls& mediaControls)
|
| : MediaControlDivElement(mediaControls, MediaTextTrackDisplayContainer)
|
| - , m_fontSize(0)
|
| + //, m_fontSize(0)
|
| {
|
| }
|
|
|
| @@ -629,7 +629,7 @@ const AtomicString& MediaControlTextTrackContainerElement::shadowPseudoId() cons
|
|
|
| void MediaControlTextTrackContainerElement::updateDisplay()
|
| {
|
| - if (!mediaElement().closedCaptionsVisible()) {
|
| + /*if (!mediaElement().closedCaptionsVisible()) {
|
| removeChildren();
|
| return;
|
| }
|
| @@ -691,12 +691,12 @@ void MediaControlTextTrackContainerElement::updateDisplay()
|
| if (hasChildren())
|
| show();
|
| else
|
| - hide();
|
| + hide();*/
|
| }
|
|
|
| void MediaControlTextTrackContainerElement::updateSizes()
|
| {
|
| - if (!document().isActive())
|
| + /*if (!document().isActive())
|
| return;
|
|
|
| IntRect videoBox;
|
| @@ -715,7 +715,7 @@ void MediaControlTextTrackContainerElement::updateSizes()
|
| if (fontSize != m_fontSize) {
|
| m_fontSize = fontSize;
|
| setInlineStyleProperty(CSSPropertyFontSize, fontSize, CSSPrimitiveValue::CSS_PX);
|
| - }
|
| + }*/
|
| }
|
|
|
| // ----------------------------
|
|
|