Index: Source/core/html/track/TextTrackCue.h |
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h |
index 398a965d2b04ea0186d290b5e937d228f14eb782..639fecd6760761963327051956e70d08996ed912 100644 |
--- a/Source/core/html/track/TextTrackCue.h |
+++ b/Source/core/html/track/TextTrackCue.h |
@@ -70,7 +70,8 @@ public: |
bool pauseOnExit() const { return m_pauseOnExit; } |
void setPauseOnExit(bool); |
- int cueIndex(); |
+ unsigned cueIndex(); |
+ void updateCueIndex(unsigned cueIndex) { m_cueIndex = cueIndex; } |
void invalidateCueIndex(); |
using EventTarget::dispatchEvent; |
@@ -112,10 +113,11 @@ private: |
AtomicString m_id; |
double m_startTime; |
double m_endTime; |
- int m_cueIndex; |
RawPtrWillBeMember<TextTrack> m_track; |
+ unsigned m_cueIndex; |
+ |
bool m_isActive : 1; |
bool m_pauseOnExit : 1; |
}; |