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

Issue 2391133005: remove sprintf (Closed)

Created:
4 years, 2 months ago by caryclark
Modified:
4 years, 2 months ago
Reviewers:
scroggo
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

remove sprintf Most uses of sprintf are in pathops testing. Replace them with SkString::appendf and replace the remaining with snprintf R=scroggo@google.com BUG=skia:2716 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391133005 Committed: https://skia.googlesource.com/skia/+/8f1864386734cfa7650a5576ba453745a407ade2

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -243 lines) Patch
M src/core/SkError.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkRegion.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M tests/PathOpsOpCircleThreadedTest.cpp View 3 chunks +29 lines, -29 lines 1 comment Download
M tests/PathOpsOpCubicThreadedTest.cpp View 3 chunks +17 lines, -23 lines 0 comments Download
M tests/PathOpsOpLoopThreadedTest.cpp View 4 chunks +32 lines, -39 lines 1 comment Download
M tests/PathOpsOpRectThreadedTest.cpp View 3 chunks +34 lines, -33 lines 1 comment Download
M tests/PathOpsQuadLineIntersectionThreadedTest.cpp View 2 chunks +6 lines, -7 lines 0 comments Download
M tests/PathOpsSimplifyDegenerateThreadedTest.cpp View 3 chunks +16 lines, -20 lines 0 comments Download
M tests/PathOpsSimplifyQuadThreadedTest.cpp View 2 chunks +22 lines, -25 lines 1 comment Download
M tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp View 2 chunks +25 lines, -23 lines 1 comment Download
M tests/PathOpsSimplifyRectThreadedTest.cpp View 8 chunks +16 lines, -20 lines 0 comments Download
M tests/PathOpsSimplifyTrianglesThreadedTest.cpp View 3 chunks +16 lines, -20 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
caryclark
4 years, 2 months ago (2016-10-06 14:34:53 UTC) #6
scroggo
lgtm https://codereview.chromium.org/2391133005/diff/1/tests/PathOpsOpCircleThreadedTest.cpp File tests/PathOpsOpCircleThreadedTest.cpp (right): https://codereview.chromium.org/2391133005/diff/1/tests/PathOpsOpCircleThreadedTest.cpp#newcode11 tests/PathOpsOpCircleThreadedTest.cpp:11: static int loopNo = 4; nit: I think ...
4 years, 2 months ago (2016-10-06 14:42:00 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2391133005/1
4 years, 2 months ago (2016-10-06 18:45:08 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 18:46:28 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/8f1864386734cfa7650a5576ba453745a407ade2

Powered by Google App Engine
This is Rietveld 408576698