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

Unified Diff: Source/core/html/track/vtt/VTTElement.cpp

Issue 1013393004: Eliminate TextTrackCue::updateDisplayTree() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
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..53764d1b148570bc6bac4a49a8ad230f6f9cb8bb 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)
fs 2015/03/19 12:10:02 Make this isPastNode() == isPastNode to please MSV
philipj_slow 2015/03/19 12:36:36 It would have to be this->isPastNode(), so I'll go
+ return;
+ m_isPastNode = isPastNode;
+ setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::createWithExtraData(StyleChangeReason::PseudoClass, StyleChangeExtraData::Past));
+}
+
+} // namespace blink
« Source/core/html/track/vtt/VTTCue.cpp ('K') | « Source/core/html/track/vtt/VTTElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698