Bug 1573249 followup, clang-format nits. r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D42938

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jonathan Kew 2019-08-21 19:37:24 +00:00
Родитель 28c7a3ddb9
Коммит 147bae39f1
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -1332,9 +1332,8 @@ void gfxTextRun::SortGlyphRuns() {
// A GlyphRun with the same font and orientation as the previous can
// just be skipped; the last GlyphRun will cover its character range.
MOZ_ASSERT(run.mFont != nullptr);
if (!prevRun ||
!prevRun->Matches(run.mFont, run.mOrientation, run.mIsCJK,
run.mMatchType)) {
if (!prevRun || !prevRun->Matches(run.mFont, run.mOrientation, run.mIsCJK,
run.mMatchType)) {
// If two font runs have the same character offset, Sort() will have
// randomized their order!
MOZ_ASSERT(prevRun == nullptr ||