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

Unified Diff: Source/core/html/track/TextTrackCue.cpp

Issue 970203005: Simplify TextTrackCue::isActive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCue.cpp
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp
index 8aed76fad7238afca3fd23dd125d0f139ba31679..f1fcc51e0b5399d7cd04a4e9ea3924b5f9af845d 100644
--- a/Source/core/html/track/TextTrackCue.cpp
+++ b/Source/core/html/track/TextTrackCue.cpp
@@ -146,11 +146,6 @@ bool TextTrackCue::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event)
return EventTarget::dispatchEvent(event);
}
-bool TextTrackCue::isActive()
-{
- return m_isActive && track() && track()->mode() != TextTrack::disabledKeyword();
-}
-
const AtomicString& TextTrackCue::interfaceName() const
{
return EventTargetNames::TextTrackCue;
« no previous file with comments | « Source/core/html/track/TextTrackCue.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698