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

Issue 25430005: Fix for potential typedef issue

Created:
7 years, 2 months ago by sugoi1
Modified:
7 years, 2 months ago
Reviewers:
mtklein, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix for potential typedef issue BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -177 lines) Patch
M include/core/SkAnnotation.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkColorFilter.h View 2 chunks +1 line, -3 lines 0 comments Download
M include/core/SkColorShader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkColorTable.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkComposeShader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkData.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkDataSet.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkDataTable.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkEmptyShader.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/core/SkImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/core/SkMallocPixelRef.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkMaskFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkPathEffect.h View 8 chunks +8 lines, -9 lines 0 comments Download
M include/core/SkPixelRef.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/core/SkRasterizer.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/core/SkShader.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/core/SkUnitMapper.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/core/SkXfermode.h View 4 chunks +4 lines, -3 lines 0 comments Download
M include/effects/Sk1DPathEffect.h View 3 chunks +4 lines, -5 lines 0 comments Download
M include/effects/Sk2DPathEffect.h View 4 chunks +6 lines, -5 lines 0 comments Download
M include/effects/SkAvoidXfermode.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkBicubicImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkBitmapSource.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkBlurDrawLooper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkBlurImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkColorFilterImageFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkColorMatrixFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkComposeImageFilter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/effects/SkCornerPathEffect.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkDiscretePathEffect.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkDisplacementMapEffect.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkDropShadowImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkEmbossMaskFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkKernel33MaskFilter.h View 3 chunks +4 lines, -4 lines 0 comments Download
M include/effects/SkLayerDrawLooper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkLayerRasterizer.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkLerpXfermode.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkLightingImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkLumaXfermode.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkMagnifierImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkMatrixConvolutionImageFilter.h View 2 chunks +2 lines, -1 line 0 comments Download
M include/effects/SkMergeImageFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkMorphologyImageFilter.h View 4 chunks +6 lines, -7 lines 0 comments Download
M include/effects/SkPerlinNoiseShader.h View 2 chunks +1 line, -2 lines 0 comments Download
M include/effects/SkPixelXorXfermode.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkRectShaderImageFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkStippleMaskFilter.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/effects/SkTableMaskFilter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkTestImageFilters.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkTransparentShader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M include/effects/SkXfermodeImageFilter.h View 2 chunks +1 line, -1 line 0 comments Download
M include/images/SkImageRef_GlobalPool.h View 2 chunks +2 lines, -3 lines 0 comments Download
M include/utils/SkUnitMappers.h View 3 chunks +4 lines, -6 lines 0 comments Download
M src/core/SkBitmapProcShader.h View 2 chunks +2 lines, -3 lines 0 comments Download
M src/core/SkBlitter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkFilterShader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkXfermode.cpp View 10 chunks +10 lines, -10 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/effects/SkColorFilters.cpp View 10 chunks +16 lines, -22 lines 0 comments Download
M src/effects/SkLightingImageFilter.cpp View 9 chunks +12 lines, -6 lines 0 comments Download
M src/effects/SkLumaXfermode.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M src/effects/SkTableColorFilter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sugoi1
7 years, 2 months ago (2013-10-02 12:49:19 UTC) #1
reed1
Have we shown that we can get in trouble (i.e. fail silently) when we use ...
7 years, 2 months ago (2013-10-02 13:12:24 UTC) #2
sugoi1
On 2013/10/02 13:12:24, reed1 wrote: > Have we shown that we can get in trouble ...
7 years, 2 months ago (2013-10-02 14:38:51 UTC) #3
sugoi1
On 2013/10/02 14:38:51, sugoi1 wrote: > On 2013/10/02 13:12:24, reed1 wrote: > > Have we ...
7 years, 2 months ago (2013-10-02 14:43:38 UTC) #4
mtklein
On 2013/10/02 14:43:38, sugoi1 wrote: > On 2013/10/02 14:38:51, sugoi1 wrote: > > On 2013/10/02 ...
7 years, 2 months ago (2013-10-02 15:08:32 UTC) #5
sugoi1
Well, obviously, if class B had "friend class C;", it would fail silently. There are ...
7 years, 2 months ago (2013-10-02 15:37:06 UTC) #6
reed1
I'm sorry this is frustrating, and I certainly don't want to slow down the other ...
7 years, 2 months ago (2013-10-02 16:13:38 UTC) #7
sugoi1
On 2013/10/02 16:13:38, reed1 wrote: > I'm sorry this is frustrating, and I certainly don't ...
7 years, 2 months ago (2013-10-02 20:04:46 UTC) #8
reed1
7 years, 2 months ago (2013-10-03 08:42:13 UTC) #9
On 2013/10/02 20:04:46, sugoi1 wrote:
> On 2013/10/02 16:13:38, reed1 wrote:
> > I'm sorry this is frustrating, and I certainly don't want to slow down the
> other
> > CL either.
> > 
> > I guess the point of my question was exactly you comment:
> > - this is a huge CL
> > - it is trivial (or is intended to be)
> > - it doesn't fix anything yet
> > - doesn't have any tests to know that we
> >     - don't regress in the future
> >     - didn't make something accidentally worse in this CL
> > 
> > I think we should consider skipping this change, since it seems (to me) that
> it
> > has more risk (e.g. accidental typo, takes your time to write, takes our
time
> to
> > manually review) than the reward... and we don't have a way (yet) to confirm
> > that we don't "break" this in the future.
> > 
> > That said, if any of my assumptions are wrong, then my (mild) conclusion may
> > also be wrong.
> 
> I'm going to think about it a little bit more before I delete this issue, but,
> in any case, let's put this CL on ice for now. The important part is what's in
> the other CL and I removed all typedef "fixes" from it, so we can look at it
> without the typedef distraction.

SGTM -- I'm not pushing to delete it either, just wasn't ready to approve it

Powered by Google App Engine
This is Rietveld 408576698