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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest 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/layout/svg/SVGTextLayoutEngineSpacing.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
index 7bd3564d79932540b3754786897a14485afca894..c9426d3848f7e5e0bb8baaa12fc8b3eafbd00bae 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngineSpacing.cpp
@@ -27,7 +27,7 @@ namespace blink {
SVGTextLayoutEngineSpacing::SVGTextLayoutEngineSpacing(const Font& font,
float effectiveZoom)
: m_font(font), m_lastCharacter(0), m_effectiveZoom(effectiveZoom) {
- ASSERT(m_effectiveZoom);
+ DCHECK(m_effectiveZoom);
}
float SVGTextLayoutEngineSpacing::calculateCSSSpacing(UChar currentCharacter) {

Powered by Google App Engine
This is Rietveld 408576698