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

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

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/TextTrack.cpp ('k') | Source/core/html/track/TextTrackRegion.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/TextTrackCue.cpp
diff --git a/Source/core/html/track/TextTrackCue.cpp b/Source/core/html/track/TextTrackCue.cpp
index b3263fd0d4123e90cc1e4879c5585e5198942b0d..329bc95518761ac2cb4f1d7392f25049ead11455 100644
--- a/Source/core/html/track/TextTrackCue.cpp
+++ b/Source/core/html/track/TextTrackCue.cpp
@@ -345,7 +345,7 @@ void TextTrackCue::setVertical(const String& value, ExceptionCode& ec)
else if (value == verticalGrowingRightKeyword())
direction = VerticalGrowingRight;
else
- ec = SYNTAX_ERR;
+ ec = SyntaxError;
if (direction == m_writingDirection)
return;
@@ -454,7 +454,7 @@ void TextTrackCue::setAlign(const String& value, ExceptionCode& ec)
else if (value == endKeyword())
alignment = End;
else
- ec = SYNTAX_ERR;
+ ec = SyntaxError;
if (alignment == m_cueAlignment)
return;
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698