Index: Source/core/html/track/TextTrackCue.h |
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h |
index bc559bf6c1bbbffb601f32aa5e98ef3cdf5eeb2c..398a965d2b04ea0186d290b5e937d228f14eb782 100644 |
--- a/Source/core/html/track/TextTrackCue.h |
+++ b/Source/core/html/track/TextTrackCue.h |
@@ -77,15 +77,19 @@ public: |
virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>) override; |
bool isActive(); |
- void setIsActive(bool); |
+ void setIsActive(bool active) { m_isActive = active; } |
virtual void updateDisplay(HTMLDivElement& container) = 0; |
// FIXME: Consider refactoring to eliminate or merge the following three members. |
// https://code.google.com/p/chromium/issues/detail?id=322434 |
virtual void updateDisplayTree(double movieTime) = 0; |
- virtual void removeDisplayTree() = 0; |
- virtual void notifyRegionWhenRemovingDisplayTree(bool notifyRegion) = 0; |
+ |
+ enum RemovalNotification { |
+ DontNotifyRegion, |
+ NotifyRegion |
+ }; |
+ virtual void removeDisplayTree(RemovalNotification = NotifyRegion) = 0; |
virtual const AtomicString& interfaceName() const override; |