DescriptionRemove assumption that null containerForRepaint assumes RenderView
Previously, when containerForRepaint was null, this would mean that
either the renderer wasn't rooted, or its container for repaint was
a non-composited RenderView. This patch changes containerForRepaint
to only return null when the renderer isn't rooted, and to actually
return the RenderView when that's the container. This allows
many of the callsites to be simplified to not check for null, and
removes the need of callers to understand the general assumption
that null means RenderView.
BUG=363699
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172531
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix zee nits #
Messages
Total messages: 10 (0 generated)
|