forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using macros to paste together names for static_asserts.
This unifies all the static assert macros to be: - Named STATIC_ASSERT_ENUM - Use static_cast<int>() instead of other disallowed casts. - Take the full enum name as an input so that code search and rewriter tools etc can find the actual thing being done by the code. This will allow the rewrite_to_chrome_style tool to change blink enum names and fix these places up too so things compile. R=thakis@chromium.org TBR=sievers,raymes BUG=584474 Review URL: https://codereview.chromium.org/1676703002 Cr-Commit-Position: refs/heads/master@{#373970}
- Loading branch information
Showing
15 changed files
with
1,120 additions
and
1,146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.