Index: Source/core/html/track/TextTrackCue.cpp |
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp |
index 31344ee836a49b26046b3aa0559a77c388d89085..0d103f5dff028b6f7fef58cd4c4ea9e9796e2bb8 100644 |
--- a/Source/core/html/track/TextTrackCue.cpp |
+++ b/Source/core/html/track/TextTrackCue.cpp |
@@ -42,7 +42,7 @@ |
#include "core/html/HTMLDivElement.h" |
#include "core/html/track/TextTrack.h" |
#include "core/html/track/TextTrackCueList.h" |
-#include "core/html/track/TextTrackRegionList.h" |
+#include "core/html/track/VTTRegionList.h" |
#include "core/html/track/WebVTTElement.h" |
#include "core/html/track/WebVTTParser.h" |
#include "core/rendering/RenderTextTrackCue.h" |
@@ -872,7 +872,7 @@ void TextTrackCue::removeDisplayTree() |
{ |
if (m_notifyRegion && m_track->regions()) { |
// The region needs to be informed about the cue removal. |
- TextTrackRegion* region = m_track->regions()->getRegionById(m_regionId); |
+ VTTRegion* region = m_track->regions()->getRegionById(m_regionId); |
if (region) |
region->willRemoveTextTrackCueBox(m_displayTree.get()); |
} |