Index: Source/core/html/track/vtt/VTTRegion.cpp |
diff --git a/Source/core/html/track/vtt/VTTRegion.cpp b/Source/core/html/track/vtt/VTTRegion.cpp |
index 07adcabd4d3a838651bc24325679e6ce7eff2f54..4a42cfec062f81f64cb53681094f25d8ac5309c8 100644 |
--- a/Source/core/html/track/vtt/VTTRegion.cpp |
+++ b/Source/core/html/track/vtt/VTTRegion.cpp |
@@ -339,7 +339,7 @@ void VTTRegion::willRemoveVTTCueBox(VTTCueBox* box) |
double boxHeight = box->getBoundingClientRect()->bottom() - box->getBoundingClientRect()->top(); |
- m_cueContainer->classList()->remove(textTrackCueContainerScrollingClass(), ASSERT_NO_EXCEPTION); |
+ m_cueContainer->classList().remove(textTrackCueContainerScrollingClass(), ASSERT_NO_EXCEPTION); |
m_currentTop += boxHeight; |
m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX); |
@@ -370,7 +370,7 @@ void VTTRegion::displayLastVTTCueBox() |
// If it's a scrolling region, add the scrolling class. |
if (isScrollingRegion()) |
- m_cueContainer->classList()->add(textTrackCueContainerScrollingClass(), ASSERT_NO_EXCEPTION); |
+ m_cueContainer->classList().add(textTrackCueContainerScrollingClass(), ASSERT_NO_EXCEPTION); |
float regionBottom = m_regionDisplayTree->getBoundingClientRect()->bottom(); |