| Index: third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| index 40562097aba09e9ac8de07f4bc523e8af170a8d7..9bd6ee829579e93eb09f172a8fd137f95ddcface 100644
|
| --- a/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| +++ b/third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp
|
| @@ -333,7 +333,7 @@
|
| void VTTRegion::willRemoveVTTCueBox(VTTCueBox* box)
|
| {
|
| DVLOG(VTT_LOG_LEVEL) << "willRemoveVTTCueBox";
|
| - DCHECK(m_cueContainer->contains(box));
|
| + ASSERT(m_cueContainer->contains(box));
|
|
|
| double boxHeight = box->getBoundingClientRect()->bottom() - box->getBoundingClientRect()->top();
|
|
|
| @@ -345,7 +345,7 @@
|
|
|
| void VTTRegion::appendVTTCueBox(VTTCueBox* displayBox)
|
| {
|
| - DCHECK(m_cueContainer);
|
| + ASSERT(m_cueContainer);
|
|
|
| if (m_cueContainer->contains(displayBox))
|
| return;
|
| @@ -357,7 +357,7 @@
|
| void VTTRegion::displayLastVTTCueBox()
|
| {
|
| DVLOG(VTT_LOG_LEVEL) << "displayLastVTTCueBox";
|
| - DCHECK(m_cueContainer);
|
| + ASSERT(m_cueContainer);
|
|
|
| // FIXME: This should not be causing recalc styles in a loop to set the "top" css
|
| // property to move elements. We should just scroll the text track cues on the
|
| @@ -392,7 +392,7 @@
|
|
|
| void VTTRegion::prepareRegionDisplayTree()
|
| {
|
| - DCHECK(m_regionDisplayTree);
|
| + ASSERT(m_regionDisplayTree);
|
|
|
| // 7.2 Prepare region CSS boxes
|
|
|
|
|