Avoid overflowing motion-rotation when converting double to float

BUG=626994

Review-Url: https://codereview.chromium.org/2135913002
Cr-Commit-Position: refs/heads/master@{#405378}
2 files changed