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

Unified Diff: third_party/WebKit/Source/core/svg/SVGLengthContext.cpp

Issue 2748223002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/svg/ (Closed)
Patch Set: Created 3 years, 9 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
Index: third_party/WebKit/Source/core/svg/SVGLengthContext.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp b/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp
index de0637a6cd441858d986b78b513aac63967c9431..717604bb15f78504ee25fe04d5544cef2309f645 100644
--- a/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp
@@ -46,7 +46,7 @@ static inline float dimensionForLengthMode(SVGLengthMode mode,
case SVGLengthMode::Other:
return sqrtf(viewportSize.diagonalLengthSquared() / 2);
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -152,7 +152,7 @@ static inline float dimensionForViewportUnit(const SVGElement* context,
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -308,7 +308,7 @@ float SVGLengthContext::convertValueToUserUnits(
userUnits = value * dimensionForViewportUnit(m_context, fromUnit);
break;
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
@@ -367,7 +367,7 @@ float SVGLengthContext::convertValueFromUserUnits(
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGParsingError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698