Chromium Code Reviews
DescriptionAdd MessageLoopForUI to the ubsan vptr blacklist.
MessageLoopForUI has the same layout as it base class. This
is enforced by a static_assert in
base/message_loop/message_loop.h:
// Do not add any member variables to MessageLoopForUI! This is important b/c
// MessageLoopForUI is often allocated via MessageLoop(TYPE_UI). Any extra
// data that you need should be stored on the MessageLoop's pump_ instance.
static_assert(sizeof(MessageLoop) == sizeof(MessageLoopForUI),
"MessageLoopForUI should not have extra member variables");
BUG=725091
Review-Url: https://codereview.chromium.org/2902733002
Cr-Commit-Position: refs/heads/master@{#474276}
Committed: https://chromium.googlesource.com/chromium/src/+/7dfa3e2c27b8254e156adf9a15f6d0ae261bf602
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|
|||||||||||||||||||