DescriptionRemove ~MaybeHandle and statically assert that handles are trivially copyable
While investigating http://crbug.com/457078#c79, I noticed that
MaybeHandle has an unecessary user provided destructor. On most
platforms, this means that MaybeHandle will be passed by hidden
reference. Remove the destructor so that it can be passed in registers
when possible, and statically assert that these objects are trivially
copyable so this doesn't regress.
R=jochen@chromium.org,machenbach@chromium.org
BUG=chromium:457078
Patch Set 1 #
Messages
Total messages: 10 (3 generated)
|