Chromium Code Reviews
DescriptionCheck null m_parent in PaintLayer::insertOnlyThisLayerAfterStyleChange()
PaintLayer::m_parent may be nullptr if an orphan LayoutObject is set
style causing it to create a layer.
The problem was only detected by ubsan_vptr because though there was
call to PaintLayer::enclosingSelfPaintingLayer() with null 'this', the
method returns null without any actual harm :)
BUG=604534
TEST=All tests pass with ubsan_vptr
Committed: https://crrev.com/c24d1e3d26bcdd4fc4afbc579ec65fbaadd4fbfa
Cr-Commit-Position: refs/heads/master@{#388286}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||