DescriptionFix a DCHECK ordering problem in ImageOperations.
This moves a DCHECK below an ordered early out. The subset of an empty bitmap
with an empty rectangle is empty, and we should return an SkBitmap() before
performing a more general intersection check.
BUG=728736
Review-Url: https://codereview.chromium.org/2921533006
Cr-Commit-Position: refs/heads/master@{#477344}
Committed: https://chromium.googlesource.com/chromium/src/+/f5ed5f60a73da4d69a1c87dfe98523bba659a7f0
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|