Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
index 153fb4ad8e19c9a04e2c8ca8cd9db605c375fd0b..4f9c362bea108eca4b1d720a1ba00b43018eaffd 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultSpacing.cpp |
@@ -42,7 +42,7 @@ ShapeResultSpacing::ShapeResultSpacing(const TextRun& run, |
expansion_opportunity_count_ = |
Character::ExpansionOpportunityCount(run, is_after_expansion); |
if (is_after_expansion && !run.AllowsTrailingExpansion()) { |
- ASSERT(expansion_opportunity_count_ > 0); |
+ DCHECK_GT(expansion_opportunity_count_, 0u); |
--expansion_opportunity_count_; |
} |
@@ -52,7 +52,7 @@ ShapeResultSpacing::ShapeResultSpacing(const TextRun& run, |
float ShapeResultSpacing::NextExpansion() { |
if (!expansion_opportunity_count_) { |
- ASSERT_NOT_REACHED(); |
+ NOTREACHED(); |
return 0; |
} |