Do not use deprecated SkSurface::flush()

Bug: 944194
Change-Id: I9afec626d7cd98c31130360a8103ac9e13fef619
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582044
Auto-Submit: Peng Huang <penghuang@chromium.org>
Reviewed-by: Jonathan Backer <backer@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653573}
1 file changed