Make repainting of squashed content work for render objects that are not layers.

BUG=370664

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

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