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

Issue 1123393007: Fix SkBitmapOperations::CreateDropShadow drawing too large a shadow. (Closed)

Created:
5 years, 7 months ago by calamity
Modified:
5 years, 7 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix SkBitmapOperations::CreateDropShadow drawing too large a shadow. This CL fixes an issue where shadows were larger than ShadowValue::GetMargin(). This caused certain shadows to clip to the view boundaries which looks bad. BUG=489533 Committed: https://crrev.com/31b6277f8e08aa83d8417d9cb34c44938f395643 Cr-Commit-Position: refs/heads/master@{#330912}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address comments #

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

Messages

Total messages: 16 (6 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123393007/1
5 years, 7 months ago (2015-05-19 04:16:33 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-19 06:50:46 UTC) #4
calamity
+asvitkine for ui/gfx/ OWNERS
5 years, 7 months ago (2015-05-19 07:27:13 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc File ui/gfx/skbitmap_operations.cc (right): https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc#newcode745 ui/gfx/skbitmap_operations.cc:745: SkBlurImageFilter::Create(SkDoubleToScalar(shadow.blur() / 2), It's not clear to me how ...
5 years, 7 months ago (2015-05-19 15:12:04 UTC) #8
calamity
https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc File ui/gfx/skbitmap_operations.cc (right): https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc#newcode745 ui/gfx/skbitmap_operations.cc:745: SkBlurImageFilter::Create(SkDoubleToScalar(shadow.blur() / 2), On 2015/05/19 15:12:04, Alexei Svitkine wrote: ...
5 years, 7 months ago (2015-05-20 04:26:51 UTC) #9
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc File ui/gfx/skbitmap_operations.cc (right): https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc#newcode745 ui/gfx/skbitmap_operations.cc:745: SkBlurImageFilter::Create(SkDoubleToScalar(shadow.blur() / 2), On 2015/05/20 04:26:51, ...
5 years, 7 months ago (2015-05-20 20:47:42 UTC) #10
calamity
https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc File ui/gfx/skbitmap_operations.cc (right): https://codereview.chromium.org/1123393007/diff/20001/ui/gfx/skbitmap_operations.cc#newcode745 ui/gfx/skbitmap_operations.cc:745: SkBlurImageFilter::Create(SkDoubleToScalar(shadow.blur() / 2), On 2015/05/20 20:47:42, Alexei Svitkine wrote: ...
5 years, 7 months ago (2015-05-21 06:54:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123393007/40001
5 years, 7 months ago (2015-05-21 06:54:43 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 7 months ago (2015-05-21 07:56:35 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 07:57:28 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/31b6277f8e08aa83d8417d9cb34c44938f395643
Cr-Commit-Position: refs/heads/master@{#330912}

Powered by Google App Engine
This is Rietveld 408576698