ui: Eliminate allocating gfx::Canvas on the heap for every view.
PaintRecorder needs to present a gfx::Canvas instead of an SkCanvas.
Currently it does so via CreateCanvasWithoutScaling which returns
a new Canvas allocated on the heap. But mallocs are terrible, so
instead make it a constructor and have the canvas allocated as part
of ui::PaintRecorder on the stack.
This changes the time to record a single tab loading spinner from
0.138818 ms to 0.124487 ms per frame for a 10% reduction in time.
R=sky
BUG=466426
Review URL: https://codereview.chromium.org/
1124223010
Cr-Commit-Position: refs/heads/master@{#329315}