Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Issue 2921533006: Fix a DCHECK ordering problem in ImageOperations. (Closed)

Created:
3 years, 6 months ago by Elliot Glaysher
Modified:
3 years, 6 months ago
Reviewers:
f(malita)
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M skia/ext/image_operations.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Elliot Glaysher
3 years, 6 months ago (2017-06-02 22:22:46 UTC) #4
f(malita)
lgtm
3 years, 6 months ago (2017-06-03 22:48:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2921533006/1
3 years, 6 months ago (2017-06-06 17:03:07 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 18:27:10 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f5ed5f60a73da4d69a1c87dfe985...

Powered by Google App Engine
This is Rietveld 408576698