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

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

Issue 55653003: Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 7 years, 1 month 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/WebVTTParser.h ('k') | Source/core/loader/TextTrackLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/WebVTTParser.cpp
diff --git a/Source/core/html/track/WebVTTParser.cpp b/Source/core/html/track/WebVTTParser.cpp
index 32d0bbe90e08fc1bee88d55c93e3cb4a9f67f03c..59b4115d748e5912e9140f2f88d989438ead0b87 100644
--- a/Source/core/html/track/WebVTTParser.cpp
+++ b/Source/core/html/track/WebVTTParser.cpp
@@ -126,7 +126,7 @@ void WebVTTParser::getNewCues(Vector<RefPtr<TextTrackCue> >& outputCues)
m_cuelist.clear();
}
-void WebVTTParser::getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegions)
+void WebVTTParser::getNewRegions(Vector<RefPtr<VTTRegion> >& outputRegions)
{
outputRegions = m_regionList;
m_regionList.clear();
@@ -376,7 +376,7 @@ void WebVTTParser::createNewRegion()
if (!m_currentHeaderValue.length())
return;
- RefPtr<TextTrackRegion> region = TextTrackRegion::create();
+ RefPtr<VTTRegion> region = VTTRegion::create();
region->setRegionSettings(m_currentHeaderValue);
// 15.5.10 If the text track list of regions regions contains a region
« no previous file with comments | « Source/core/html/track/WebVTTParser.h ('k') | Source/core/loader/TextTrackLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698