cc: Damage the viewport and UpdateTiles when pinch ends.

When pinch ends we have a tiling that is not the right resolution, but
the last drawn frame may have been considered "complete" regardless
since it was the raster scale.

Outside of the pinch action that scale would not be used as the raster
scale however, so we should UpdateDrawProperties to get a new raster
scale.

If we just do that, however, the new tiles are rastered but do not
trigger an actual redraw if they take longer than the SetNeedsRedraw()
called from PinchGestureEnd, since the scheduler is not watching for
new tiles and drawing constantly (since it's last frame was complete).
So we damage the viewport, which causes us to draw everything and non-
ideal tiles will be considered incomplete and we'll be sure to get a
crisp result.

This last part is excessive and we can do better, but this is something
we can more easily merge to M39. Following up with other better ideas
in another CL https://codereview.chromium.org/671653005/ .

R=enne, vmpstr
BUG=427423

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

Cr-Commit-Position: refs/heads/master@{#301690}
1 file changed