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

Unified Diff: Source/platform/text/BidiRunList.h

Issue 62483002: Add ASSERTs in BidiResolver and RenderBlockLineLayout (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/platform/text/BidiResolver.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/text/BidiRunList.h
diff --git a/Source/platform/text/BidiRunList.h b/Source/platform/text/BidiRunList.h
index 4e3cfdf090003b35d1f4942fa7c91bf7b831e915..65d480c33a3d0010e1dea12cd5beb205911802d3 100644
--- a/Source/platform/text/BidiRunList.h
+++ b/Source/platform/text/BidiRunList.h
@@ -202,9 +202,7 @@ void BidiRunList<Run>::deleteRuns()
template <class Run>
void BidiRunList<Run>::reverseRuns(unsigned start, unsigned end)
{
- if (!m_runCount)
- return;
-
+ ASSERT(m_runCount);
if (start >= end)
return;
« no previous file with comments | « Source/platform/text/BidiResolver.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698