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

Issue 1327943003: Clean up some lint complaints and fix center_of_mass() (Closed)

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

Description

Clean up some lint complaints and fix center_of_mass() Fix some variable shadowing warnings found by /analyze. The variable shadowing fix in center_of_mass changes the behavior of center_of_mass, presumably to reflect the intent of the function. BUG=skia:4287 Committed: https://skia.googlesource.com/skia/+/44c3128bd892d32f797810d93ef1ed392e0b902d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -30 lines) Patch
M src/core/SkPictureShader.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M src/gpu/batches/GrAAConvexPathRenderer.cpp View 3 chunks +6 lines, -7 lines 0 comments Download
M src/gpu/batches/GrAAConvexTessellator.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M src/gpu/batches/GrAAHairLinePathRenderer.cpp View 2 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
robertphillips
5 years, 3 months ago (2015-09-03 17:53:26 UTC) #2
jvanverth1
lgtm
5 years, 3 months ago (2015-09-03 18:11:20 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327943003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327943003/1
5 years, 3 months ago (2015-09-03 19:50:08 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-03 19:55:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327943003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327943003/1
5 years, 3 months ago (2015-09-03 19:57:51 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/44c3128bd892d32f797810d93ef1ed392e0b902d
5 years, 3 months ago (2015-09-03 19:58:51 UTC) #10
brucedawson
It's too late now, but I worry that the description of this change is inaccurate. ...
5 years, 3 months ago (2015-09-03 20:03:50 UTC) #12
mtklein
On 2015/09/03 20:03:50, brucedawson wrote: > It's too late now, but I worry that the ...
5 years, 3 months ago (2015-09-03 20:07:54 UTC) #13
brucedawson
Good point. The git commit won't show it but the CL will.
5 years, 3 months ago (2015-09-03 20:08:38 UTC) #14
mikerreed
Did this CL break these LayoutTests? http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/76595 There are some circle-related GPU runs. We may ...
5 years, 3 months ago (2015-09-03 23:25:41 UTC) #16
brucedawson
5 years, 3 months ago (2015-09-04 17:28:16 UTC) #17
Message was sent while issue was closed.
That's certainly possible. It may be that the new center_of_mass() behavior is
actually wrong, or it may be that the tests depend on the previous behavior even
though it was wrong.

Powered by Google App Engine
This is Rietveld 408576698