Convert repaintRectsAsText callers to text-based-repaint.js

This makes text-based-repaint.js the only repaintRectsAsText caller,
which will make it easier to convert from FrameView to GraphicsLayer
repaint rects.

BUG=368518

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

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