DescriptionMake various gfx classes more amenable to use as compile-time constants.
Specifically, this means marking most constructors and simple accessors as
constexpr. It also means removing the explicit empty destructors, since that
can qualify as a nontrivial destructor and bung things up. (If we really want
to explicitly declare these, the right way would be to use "= default".)
This also adds some missing operators to the Insets classes. I needed one of
these, and the style guide says to overload all related operators when
overloading one.
BUG=none
TEST=none
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
R=danakj@chromium.org
Committed: https://chromium.googlesource.com/chromium/src/+/275539a60ec716bea022200fa650a409772a81bf
Patch Set 1 #
Total comments: 16
Patch Set 2 : Compile and test fixes #
Total comments: 2
Patch Set 3 : Compile and test fixes #Patch Set 4 : More compile fixes #Patch Set 5 : Compile fixes #Patch Set 6 : Compile fixes redux #Patch Set 7 : Son of compile fixes #Patch Set 8 : Another compile fix #Patch Set 9 : Resync #Patch Set 10 : Delete destructor #
Messages
Total messages: 24 (11 generated)
|