[ios] Don't convert an empty gfx::Image to a UIImage.
WKWebView -takeSnapshotWithConfiguration can return a nil UIImage if there is an error. Change-Id: Ifb1de97f9afed7436b5fae655ac9a35facdc2868 Reviewed-on: https://chromium-review.googlesource.com/c/1316750Reviewed-by:edchin <edchin@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org> Cr-Commit-Position: refs/heads/master@{#606047}
Showing
Please register or sign in to comment