Index: Source/platform/text/BidiResolver.h |
diff --git a/Source/platform/text/BidiResolver.h b/Source/platform/text/BidiResolver.h |
index cc5eb275720c30ebb5ea1db50dd117418916e6d0..86fb8449e178838de4753ae7b6271b122b93ed82 100644 |
--- a/Source/platform/text/BidiResolver.h |
+++ b/Source/platform/text/BidiResolver.h |
@@ -119,6 +119,7 @@ struct BidiCharacterRun { |
, m_start(start) |
, m_stop(stop) |
{ |
+ ASSERT(m_start <= m_stop); |
if (dir == WTF::Unicode::OtherNeutral) |
dir = context->dir(); |