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

Issue 12915007: Fix a few clang errors while trying to build tools target. (Closed)

Created:
7 years, 9 months ago by tfarina
Modified:
7 years, 9 months ago
Reviewers:
scroggo, bsalomon, sugoi, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix a few clang errors while trying to build tools target. Most of the errors were like: ../../src/gpu/gl/GrGLEffectMatrix.cpp:74:9: error: variable 'varyingType' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized] ../../src/gpu/gl/debug/GrDebugGL.h:125:21: error: private field 'fMaxTextureUnits' is not used [-Werror,-Wunused-private-field] ../../src/core/SkBitmapSampler.cpp:312:25: error: private field 'fProcTable' is not used [-Werror,-Wunused-private-field] R=bsalomon@google.com,scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=8403

Patch Set 1 #

Total comments: 1

Patch Set 2 : rm SkAutoMemoryUsageProbe #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -58 lines) Patch
M include/core/SkUtils.h View 1 1 chunk +0 lines, -16 lines 0 comments Download
M src/core/SkBitmapSampler.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M src/core/SkRasterClip.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkTextToPathIter.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkUtils.cpp View 1 1 chunk +0 lines, -33 lines 0 comments Download
M src/effects/SkDisplacementMapEffect.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M src/gpu/gl/GrGLEffectMatrix.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/gl/debug/GrDebugGL.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/image/SkSurface_Picture.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina
Hi guys, I was trying to build tools 'ninja -C out/Debug tools' to work on ...
7 years, 9 months ago (2013-03-23 02:00:09 UTC) #1
scroggo
https://codereview.chromium.org/12915007/diff/1/include/core/SkUtils.h File include/core/SkUtils.h (left): https://codereview.chromium.org/12915007/diff/1/include/core/SkUtils.h#oldcode129 include/core/SkUtils.h:129: const char* fLabel; I wonder if we should just ...
7 years, 9 months ago (2013-03-24 14:58:01 UTC) #2
tfarina
On 2013/03/24 14:58:01, scroggo wrote: > https://codereview.chromium.org/12915007/diff/1/include/core/SkUtils.h > File include/core/SkUtils.h (left): > > https://codereview.chromium.org/12915007/diff/1/include/core/SkUtils.h#oldcode129 > ...
7 years, 9 months ago (2013-03-24 15:39:24 UTC) #3
bsalomon
The GrGLEffectMatrix change lgtm. I think the displacement effect change is probably correct but adding ...
7 years, 9 months ago (2013-03-25 13:17:00 UTC) #4
reed1
lgtm
7 years, 9 months ago (2013-03-25 13:46:13 UTC) #5
sugoi
lgtm
7 years, 9 months ago (2013-03-25 13:55:17 UTC) #6
tfarina
7 years, 9 months ago (2013-03-26 21:49:13 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r8403 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698