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

Unified Diff: Source/core/html/track/InbandTextTrack.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/shadow/MediaControlsChromiumAndroid.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/InbandTextTrack.cpp
diff --git a/Source/core/html/track/InbandTextTrack.cpp b/Source/core/html/track/InbandTextTrack.cpp
index 7dcb1dfb6a2f6777d592939387bf16d15b9e8f64..b33f087e94c635f1c2f350839f884b908579374b 100644
--- a/Source/core/html/track/InbandTextTrack.cpp
+++ b/Source/core/html/track/InbandTextTrack.cpp
@@ -151,22 +151,22 @@ void InbandTextTrack::addGenericCue(InbandTextTrackPrivate* trackPrivate, Generi
cue->setFontName(cueData->fontName());
if (cueData->position() > 0)
- cue->setPosition(lround(cueData->position()), IGNORE_EXCEPTION_STATE);
+ cue->setPosition(lround(cueData->position()), IGNORE_EXCEPTION);
if (cueData->line() > 0)
- cue->setLine(lround(cueData->line()), IGNORE_EXCEPTION_STATE);
+ cue->setLine(lround(cueData->line()), IGNORE_EXCEPTION);
if (cueData->size() > 0)
- cue->setSize(lround(cueData->size()), IGNORE_EXCEPTION_STATE);
+ cue->setSize(lround(cueData->size()), IGNORE_EXCEPTION);
if (cueData->backgroundColor().alpha())
cue->setBackgroundColor(cueData->backgroundColor().rgb());
if (cueData->foregroundColor().alpha())
cue->setForegroundColor(cueData->foregroundColor().rgb());
if (cueData->align() == GenericCueData::Start)
- cue->setAlign(ASCIILiteral("start"), IGNORE_EXCEPTION_STATE);
+ cue->setAlign(ASCIILiteral("start"), IGNORE_EXCEPTION);
else if (cueData->align() == GenericCueData::Middle)
- cue->setAlign(ASCIILiteral("middle"), IGNORE_EXCEPTION_STATE);
+ cue->setAlign(ASCIILiteral("middle"), IGNORE_EXCEPTION);
else if (cueData->align() == GenericCueData::End)
- cue->setAlign(ASCIILiteral("end"), IGNORE_EXCEPTION_STATE);
+ cue->setAlign(ASCIILiteral("end"), IGNORE_EXCEPTION);
cue->setSnapToLines(false);
if (hasCue(cue.get())) {
« no previous file with comments | « Source/core/html/shadow/MediaControlsChromiumAndroid.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698