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

Unified Diff: Source/core/html/TimeRangesTest.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/TimeRanges.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TimeRangesTest.cpp
diff --git a/Source/core/html/TimeRangesTest.cpp b/Source/core/html/TimeRangesTest.cpp
index 19bbd36f7da4ce2e485da67bf3b8dc41f41d4857..9c92149210db53530cbaa0de258c9a22bda6d4ad 100644
--- a/Source/core/html/TimeRangesTest.cpp
+++ b/Source/core/html/TimeRangesTest.cpp
@@ -43,7 +43,7 @@ static std::string ToString(const TimeRanges& ranges)
std::stringstream ss;
ss << "{";
for (unsigned i = 0; i < ranges.length(); ++i)
- ss << " [" << ranges.start(i, IGNORE_EXCEPTION_STATE) << "," << ranges.end(i, IGNORE_EXCEPTION_STATE) << ")";
+ ss << " [" << ranges.start(i, IGNORE_EXCEPTION) << "," << ranges.end(i, IGNORE_EXCEPTION) << ")";
ss << " }";
return ss.str();
@@ -75,7 +75,7 @@ TEST(TimeRanges, AddOrder)
// Add the values in rangeA to rangeB in reverse order.
for (int i = rangeA->length() - 1; i >= 0; --i)
- rangeB->add(rangeA->start(i, IGNORE_EXCEPTION_STATE), rangeA->end(i, IGNORE_EXCEPTION_STATE));
+ rangeB->add(rangeA->start(i, IGNORE_EXCEPTION), rangeA->end(i, IGNORE_EXCEPTION));
ASSERT_RANGE(expected, rangeB);
}
« no previous file with comments | « Source/core/html/TimeRanges.cpp ('k') | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698