| Index: Source/core/html/track/vtt/VTTElement.cpp
|
| diff --git a/Source/core/html/track/vtt/VTTElement.cpp b/Source/core/html/track/vtt/VTTElement.cpp
|
| index e2b8f6f7523f81a7851b49c210547b77e6e09c2a..ff2204adf50c78909fdb88c0e8ad077333bb2793 100644
|
| --- a/Source/core/html/track/vtt/VTTElement.cpp
|
| +++ b/Source/core/html/track/vtt/VTTElement.cpp
|
| @@ -117,5 +117,13 @@ PassRefPtrWillBeRawPtr<HTMLElement> VTTElement::createEquivalentHTMLElement(Docu
|
| return htmlElement;
|
| }
|
|
|
| -} // namespace blink
|
| +void VTTElement::setIsPastNode(bool isPastNode)
|
| +{
|
| + if (!!m_isPastNode == isPastNode)
|
| + return;
|
|
|
| + m_isPastNode = isPastNode;
|
| + setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Past));
|
| +}
|
| +
|
| +} // namespace blink
|
|
|