Fix asserts when updating shouldPaint for floating objects.

The assert would trigger when loading fast/overflow/overflow-float-stacking.html if
--enable-prefer-compositing-to-lcd-text was true, because
LayoutBlockFlow::setAncestorShouldPaintFloatingObject asserted that the floating
object is not self-painting. But that method could be called when transitioning
from not-self-painting to self-painting, so the assert appears bogus.

Review-Url: https://codereview.chromium.org/2191953002
Cr-Commit-Position: refs/heads/master@{#408527}
3 files changed