Fix inline magic window viewport scaling

While the viewport scaling in code had been fixed, the lingering todo
in the magic window sample wasn't cleaned up.  This fixes the magic
window sample to properly re-size the canvas again.

Bug: 966077
Change-Id: I414652b3f6ad9a489ea318a81deb1406ae396fa5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648696
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Bill Orr <billorr@chromium.org>
Reviewed-by: Bill Orr <billorr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#666918}
1 file changed