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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months 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/TextTrackList.cpp ('k') | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackRegion.cpp
diff --git a/Source/core/html/track/TextTrackRegion.cpp b/Source/core/html/track/TextTrackRegion.cpp
index aa5c652fc55433dc345fc09ef817bd951dd3c9be..4a93ac6935f7f67352e06c37c82a0e41bd6e4ed0 100644
--- a/Source/core/html/track/TextTrackRegion.cpp
+++ b/Source/core/html/track/TextTrackRegion.cpp
@@ -215,7 +215,7 @@ void TextTrackRegion::updateParametersFromRegion(TextTrackRegion* region)
m_regionAnchor = FloatPoint(region->regionAnchorX(), region->regionAnchorY());
m_viewportAnchor = FloatPoint(region->viewportAnchorX(), region->viewportAnchorY());
- setScroll(region->scroll(), ASSERT_NO_EXCEPTION_STATE);
+ setScroll(region->scroll(), ASSERT_NO_EXCEPTION);
}
void TextTrackRegion::setRegionSettings(const String& input)
@@ -373,7 +373,7 @@ void TextTrackRegion::willRemoveTextTrackCueBox(TextTrackCueBox* box)
double boxHeight = box->getBoundingClientRect()->bottom() - box->getBoundingClientRect()->top();
float regionBottom = m_regionDisplayTree->getBoundingClientRect()->bottom();
- m_cueContainer->classList()->remove(textTrackCueContainerScrollingClass(), IGNORE_EXCEPTION_STATE);
+ m_cueContainer->classList()->remove(textTrackCueContainerScrollingClass(), IGNORE_EXCEPTION);
m_currentTop += boxHeight;
m_cueContainer->setInlineStyleProperty(CSSPropertyTop, m_currentTop, CSSPrimitiveValue::CSS_PX);
@@ -385,7 +385,7 @@ void TextTrackRegion::appendTextTrackCueBox(PassRefPtr<TextTrackCueBox> displayB
if (m_cueContainer->contains(displayBox.get()))
return;
- m_cueContainer->appendChild(displayBox, ASSERT_NO_EXCEPTION_STATE, AttachNow);
+ m_cueContainer->appendChild(displayBox, ASSERT_NO_EXCEPTION, AttachNow);
displayLastTextTrackCueBox();
}
@@ -400,7 +400,7 @@ void TextTrackRegion::displayLastTextTrackCueBox()
// If it's a scrolling region, add the scrolling class.
if (isScrollingRegion())
- m_cueContainer->classList()->add(textTrackCueContainerScrollingClass(), IGNORE_EXCEPTION_STATE);
+ m_cueContainer->classList()->add(textTrackCueContainerScrollingClass(), IGNORE_EXCEPTION);
float regionBottom = m_regionDisplayTree->getBoundingClientRect()->bottom();
« no previous file with comments | « Source/core/html/track/TextTrackList.cpp ('k') | Source/core/inspector/DOMEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698