Avoid reattachWhitespaceSiblings when renderer does not change.

If the renderer is null before and after the style recalc, there is no need
to reattach whitespace siblings. It is necessary to check for needsAttach()
since the old renderer might have been detached by lazyReattachIfAttached(),
for instance.

BUG=340213

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

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