cc: DCHECK that pile size == layer size during draw if pile isn't empty.
Ensure that when the pile and layer size don't match during push
properties that the pile is invalidated and given an empty size, since
it means Update was skipped (layer isn't part of the frame) and the
pile is not longer up to date.
In AppendQuads only dcheck the layer bounds() == pile's size when the
pile is not empty. A layer may animate or scroll into the viewport
while it was not part of the main thread frame. We will checkerboard in
that case.
Adds a test to ensure we don't consider the pile to be solid color once
we make it empty to avoid drawing a solid color if that isn't correct
in this scenario. An empty pile shouldn't be used to draw with.
R=enne, vmpstr
BUG=430894
Review URL: https://codereview.chromium.org/
711503002
Cr-Commit-Position: refs/heads/master@{#303097}