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

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h

Issue 2363833003: FATAL:DCHECK failed on BreakingContext::rewindToMidWordBreak() (Closed)
Patch Set: Created 4 years, 3 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/line/BreakingContextInlineHeaders.h
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
index c8f2fc65a6464cb5c05d6c2939e0843005a2401c..9cde5d58158f673e3af0edcad3b6920f576e8eab 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -1006,6 +1006,8 @@ inline bool BreakingContext::handleText(WordMeasurements& wordMeasurements, bool
hyphenated = true;
m_atEnd = true;
}
+ if (!m_ignoringSpaces && canBreakMidWord)
kojii 2016/09/27 07:51:01 Probably this can be "else if"?
+ m_atEnd = true;
}
return false;
}

Powered by Google App Engine
This is Rietveld 408576698