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

Issue 282203004: Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. (Closed)

Created:
6 years, 7 months ago by Dominik Grewe
Modified:
6 years, 7 months ago
Reviewers:
scroggo, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Remove SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS flag. Neither Chrome nor Android uses this flag anymore. Make sure all constructors touched that only have one parameter are marked as 'explicit'. BUG=2187 Committed: http://code.google.com/p/skia/source/detail?r=14749

Patch Set 1 #

Patch Set 2 : Add 'explicit' and indentation. #

Patch Set 3 : cleanup #

Total comments: 5

Patch Set 4 : Remove default parameters in constructors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -197 lines) Patch
M include/core/SkPathEffect.h View 1 2 chunks +2 lines, -10 lines 0 comments Download
M include/core/SkXfermode.h View 2 chunks +2 lines, -6 lines 0 comments Download
M include/effects/Sk1DPathEffect.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/Sk2DPathEffect.h View 3 chunks +8 lines, -20 lines 0 comments Download
M include/effects/SkAvoidXfermode.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkBitmapSource.h View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M include/effects/SkBlurImageFilter.h View 1 2 3 2 chunks +4 lines, -8 lines 0 comments Download
M include/effects/SkColorMatrixFilter.h View 1 chunk +3 lines, -7 lines 0 comments Download
M include/effects/SkComposeImageFilter.h View 1 chunk +1 line, -5 lines 0 comments Download
M include/effects/SkCornerPathEffect.h View 1 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkDashPathEffect.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkDiscretePathEffect.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkDisplacementMapEffect.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkDropShadowImageFilter.h View 1 2 3 1 chunk +4 lines, -8 lines 0 comments Download
M include/effects/SkEmbossMaskFilter.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkMagnifierImageFilter.h View 2 chunks +1 line, -5 lines 0 comments Download
M include/effects/SkMatrixConvolutionImageFilter.h View 1 2 3 2 chunks +10 lines, -14 lines 0 comments Download
M include/effects/SkMergeImageFilter.h View 1 chunk +6 lines, -9 lines 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 1 2 chunks +4 lines, -12 lines 0 comments Download
M include/effects/SkOffsetImageFilter.h View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download
M include/effects/SkPictureImageFilter.h View 2 chunks +2 lines, -6 lines 0 comments Download
M include/effects/SkPixelXorXfermode.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkStippleMaskFilter.h View 1 1 chunk +3 lines, -7 lines 0 comments Download
M include/effects/SkTableMaskFilter.h View 1 chunk +3 lines, -7 lines 0 comments Download
M include/effects/SkTileImageFilter.h View 1 chunk +2 lines, -6 lines 0 comments Download
M include/effects/SkXfermodeImageFilter.h View 1 2 3 1 chunk +2 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Dominik Grewe
ptal.
6 years, 7 months ago (2014-05-15 10:52:42 UTC) #1
scroggo
lgtm https://codereview.chromium.org/282203004/diff/40001/include/effects/SkBlurImageFilter.h File include/effects/SkBlurImageFilter.h (right): https://codereview.chromium.org/282203004/diff/40001/include/effects/SkBlurImageFilter.h#newcode30 include/effects/SkBlurImageFilter.h:30: SkImageFilter* input = NULL, Defaults not needed. https://codereview.chromium.org/282203004/diff/40001/include/effects/SkColorMatrixFilter.h ...
6 years, 7 months ago (2014-05-15 14:56:42 UTC) #2
scroggo
On 2014/05/15 14:56:42, scroggo wrote: > lgtm > > https://codereview.chromium.org/282203004/diff/40001/include/effects/SkBlurImageFilter.h > File include/effects/SkBlurImageFilter.h (right): > ...
6 years, 7 months ago (2014-05-15 14:57:38 UTC) #3
Dominik Grewe
On 2014/05/15 14:57:38, scroggo wrote: > On 2014/05/15 14:56:42, scroggo wrote: > > lgtm > ...
6 years, 7 months ago (2014-05-15 15:14:43 UTC) #4
scroggo
On 2014/05/15 15:14:43, Dominik Grewe wrote: > On 2014/05/15 14:57:38, scroggo wrote: > > On ...
6 years, 7 months ago (2014-05-15 15:21:29 UTC) #5
reed1
lgtm
6 years, 7 months ago (2014-05-15 15:30:40 UTC) #6
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 7 months ago (2014-05-15 15:35:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/282203004/60001
6 years, 7 months ago (2014-05-15 15:35:27 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-15 15:40:55 UTC) #9
Message was sent while issue was closed.
Change committed as 14749

Powered by Google App Engine
This is Rietveld 408576698