Skip to content

Commit

Permalink
Bug 1170986 - patch 0 - Reformat gfxMacPlatformFontList.mm with clang…
Browse files Browse the repository at this point in the history
…-format as though it were a .cpp file. r=gfx-reviewers,nical

No functional change. The issue here is that we're going to move a lot of the contents of this file
to a new .cpp source file; but we have different line-length specifications for .mm vs .cpp files,
and so that results in clang-format making a lot of whitespace-only changes to adjust the lines.

To try and simplify review, this preparatory patch is created by running clang-format on the file
*as if it were a .cpp source*, so that the whitespace adjustments get done. Then the following patch,
which moves much of the content to CoreTextFontList.cpp, will already see the whitespace in the form
it expects.

Differential Revision: https://phabricator.services.mozilla.com/D180324
  • Loading branch information
jfkthame committed Aug 31, 2023
1 parent 39fbef2 commit a129c27
Showing 1 changed file with 376 additions and 265 deletions.
Loading

0 comments on commit a129c27

Please sign in to comment.