Move painting code from FrameView to FramePainter.

BUG=412088

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

git-svn-id: svn://svn.chromium.org/blink/trunk@183709 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix a crash in PageAnimator::serviceScriptedAnimations.

If we switch openPicker() in date-suggestion-picker-key-operations.html, it
crashes in PageAnimator::serviceScriptedAnimations because Page is deleted in an
event handler. We need to protect the PageAnimator.

BUG=409503,421321

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

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