Fix N^2 loop when determining paint invalidation rects of nested culled inlines

RenderInline's with culled inline boxes won't have any visual effects, so we can
safely avoid doing the work to walk their entire subtree to determine their paint
invalidation bounds.

BUG=433915

Review URL: https://codereview.chromium.org/813493002

git-svn-id: svn://svn.chromium.org/blink/trunk@187332 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: ef962b0644bbe7f8f54a263a07ecd5c883ef4aa3
  1. third_party/