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

Unified Diff: Source/core/svg/SVGLength.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/svg/SVGDocument.cpp ('k') | Source/core/svg/SVGTRefElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLength.cpp
diff --git a/Source/core/svg/SVGLength.cpp b/Source/core/svg/SVGLength.cpp
index 190b0d610ee9099945df8a040468eb4e661d8e6a..e064971d9f2138c9bd542cb6f6d7d476514aedc0 100644
--- a/Source/core/svg/SVGLength.cpp
+++ b/Source/core/svg/SVGLength.cpp
@@ -122,14 +122,14 @@ SVGLength::SVGLength(SVGLengthMode mode, const String& valueAsString)
: m_valueInSpecifiedUnits(0)
, m_unit(storeUnit(mode, LengthTypeNumber))
{
- setValueAsString(valueAsString, IGNORE_EXCEPTION_STATE);
+ setValueAsString(valueAsString, IGNORE_EXCEPTION);
}
SVGLength::SVGLength(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType)
: m_valueInSpecifiedUnits(0)
, m_unit(storeUnit(mode, unitType))
{
- setValue(value, context, ASSERT_NO_EXCEPTION_STATE);
+ setValue(value, context, ASSERT_NO_EXCEPTION);
}
SVGLength::SVGLength(const SVGLength& other)
@@ -183,7 +183,7 @@ SVGLengthMode SVGLength::unitMode() const
float SVGLength::value(const SVGLengthContext& context) const
{
- return value(context, IGNORE_EXCEPTION_STATE);
+ return value(context, IGNORE_EXCEPTION);
}
float SVGLength::value(const SVGLengthContext& context, ExceptionState& es) const
« no previous file with comments | « Source/core/svg/SVGDocument.cpp ('k') | Source/core/svg/SVGTRefElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698