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

Issue 1539553002: Add default ctor to SkMask (Closed)

Created:
5 years ago by robertphillips
Modified:
5 years ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add default ctor to SkMask The minimal fix here seems to be handling BoxBlur's return value in SkBlurMaskFilter.cpp::GrRRectBlurEffect::Create. We seem to do enough special handling of the fImage field though that always initialializing it may not be a bad idea. BUG=570232 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1539553002 Committed: https://skia.googlesource.com/skia/+/e80eb928ba0248a5a5dea6e1f0005aa08ecf8740

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add warning for ignored return values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -57 lines) Patch
M bench/BlurRectBench.cpp View 1 5 chunks +14 lines, -12 lines 0 comments Download
M gm/blurrect.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M include/core/SkMask.h View 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkMaskFilter.h View 1 chunk +1 line, -3 lines 0 comments Download
M include/effects/SkEmbossMaskFilter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/core/SkAAClip.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkBitmap.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkDraw.cpp View 2 chunks +1 line, -4 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkRasterizer.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M src/device/xps/SkXPSDevice.cpp View 2 chunks +2 lines, -11 lines 0 comments Download
M src/effects/SkBlurMask.h View 1 2 chunks +15 lines, -13 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M tests/AAClipTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M tests/BlurTest.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
robertphillips
5 years ago (2015-12-17 16:57:04 UTC) #5
reed1
lgtm https://codereview.chromium.org/1539553002/diff/1/src/effects/SkBlurMask.h File src/effects/SkBlurMask.h (right): https://codereview.chromium.org/1539553002/diff/1/src/effects/SkBlurMask.h#newcode33 src/effects/SkBlurMask.h:33: static bool BoxBlur(SkMask* dst, const SkMask& src, Lets ...
5 years ago (2015-12-17 18:50:31 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1539553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1539553002/20001
5 years ago (2015-12-17 19:14:56 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-17 19:31:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1539553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1539553002/20001
5 years ago (2015-12-17 19:32:22 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-17 19:33:19 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/e80eb928ba0248a5a5dea6e1f0005aa08ecf8740

Powered by Google App Engine
This is Rietveld 408576698