Migrate to GrRecordingContext version of SkImage::isValid
This unblocks http://review.skia.org/304776. After that lands, we can come back and remove the explicit cast. The inclusion of GrDirectContext.h is "jumping ahead" to where Chromium CL 2297920 is taking us, and it is in the process of landing. We could have imported GrContext.h but then we'd have a needless conflict. Bug: skia:104662 Change-Id: Ibc6b5a5061577bca59a3b57ce16a1af0298d0f5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310974 Commit-Queue: Adlai Holler <adlai@google.com> Auto-Submit: Adlai Holler <adlai@google.com> Reviewed-by:Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#790604}
Showing
Please register or sign in to comment