Index: third_party/WebKit/Source/platform/fonts/Font.cpp |
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp |
index bcbf112864165784d4d0f8979daef43fba18c1af..81d41846cb4446c4e31d40ed238825489ad45a26 100644 |
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp |
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp |
@@ -162,7 +162,8 @@ bool Font::DrawBidiText(PaintCanvas* canvas, |
// sub-run painting is not supported for Bidi text. |
const TextRun& run = run_info.run; |
- ASSERT((run_info.from == 0) && (run_info.to == run.length())); |
+ DCHECK_EQ(run_info.from, 0u); |
+ DCHECK_EQ(run_info.to, run.length()); |
BidiResolver<TextRunIterator, BidiCharacterRun> bidi_resolver; |
bidi_resolver.SetStatus( |
BidiStatus(run.Direction(), run.DirectionalOverride())); |