DescriptionDisallow [in]equality operator for PageTransition
Direct comparison of the enum is error-prone since users can easily
forget about the qualifier bits. The available helper functions should
be used instead as documented in the comment.
Most occurrences were addressed in earlier patches and a few leftovers
are updated here, together with the change in page_transition_types.h
that causes compiler errors if [in]equality operator is used for the
enum.
BUG=
Committed: https://crrev.com/1b34e0ef500c487ac6294ab36efb640195d32aee
Cr-Commit-Position: refs/heads/master@{#439079}
Patch Set 1 #Patch Set 2 : Fixed iOS. #Patch Set 3 : Updated more occurrences. #Patch Set 4 : git cl try #Patch Set 5 : Disallow [in]equality operator for PageTransition #
Messages
Total messages: 29 (22 generated)
|