Invalidate non-self-painting-layer descendants when creating a layer
When a layer is created, its descendants may change paint invalidation
container. For example, previously the descendants had a containing
layer which is composited but was not a stacking context, and now their
paint invalidation container becomes the nearest stacking context
ancestor.
The real bug status is hard to reproduce with a test because it depends
on reuse of display item client addresses (deleted display item client
not invalidated on the correct paint invalidation container, then a new
display item client is created at the same address which will be treated
as validly cached).
BUG=
541544
TEST=paint/invalidation/invalidate-descendants-when-receiving-paint-layer.html
Committed:
https://crrev.com/84891953f9681beb9ae099e69b5403aa182f4522
Cr-Commit-Position: refs/heads/master@{#354202}