Index: Source/core/html/track/TextTrackCue.h |
diff --git a/Source/core/html/track/TextTrackCue.h b/Source/core/html/track/TextTrackCue.h |
index 92047be060160fb2648b8ed768a129920592262e..96e45bdc079c2f72918c48355a70addfe75ce635 100644 |
--- a/Source/core/html/track/TextTrackCue.h |
+++ b/Source/core/html/track/TextTrackCue.h |
@@ -132,10 +132,9 @@ public: |
using EventTarget::dispatchEvent; |
virtual bool dispatchEvent(PassRefPtr<Event>) OVERRIDE; |
-#if ENABLE(WEBVTT_REGIONS) |
const String& regionId() const { return m_regionId; } |
void setRegionId(const String&); |
-#endif |
+ void notifyRegionWhenRemovingDisplayTree(bool); |
bool isActive(); |
void setIsActive(bool); |
@@ -228,9 +227,7 @@ private: |
Position, |
Size, |
Align, |
-#if ENABLE(WEBVTT_REGIONS) |
RegionId |
-#endif |
}; |
CueSetting settingName(const String&); |
@@ -272,9 +269,8 @@ private: |
int m_displaySize; |
std::pair<float, float> m_displayPosition; |
-#if ENABLE(WEBVTT_REGIONS) |
String m_regionId; |
-#endif |
+ bool m_notifyRegion; |
}; |
} // namespace WebCore |