Defer renderer repaint when filters change.

If we're currently inside a layout then we can defer the full repaint of the
renderer if repaint-after-layout is enabled.

BUG=310398

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165349 bbb929c8-8fbe-4397-9dbb-9b2b20218538