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

Issue 15740024: Reland 'Add path utils, plus a test for it.' (Closed)

Created:
7 years, 6 months ago by scroggo
Modified:
7 years, 6 months ago
Reviewers:
epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Reland 'Add path utils, plus a test for it.' Build SkPathJoin and SkBasename on windows also. Previous CL did not build on Windows because the two functions were accidentally placed inside an ifdef that did not include windows. Move the functions to the top of the file, and add a comment by the endif for clarity. Previously reviewed at https://codereview.chromium.org/15747004/ Committed: https://code.google.com/p/skia/source/detail?r=9295

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -53 lines) Patch
M gm/factory.cpp View 2 chunks +3 lines, -6 lines 4 comments Download
M gm/gm_expectations.h View 1 chunk +0 lines, -10 lines 0 comments Download
M gm/gm_expectations.cpp View 2 chunks +1 line, -10 lines 0 comments Download
M gm/gmmain.cpp View 1 chunk +1 line, -1 line 0 comments Download
M gm/image.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M include/core/SkOSFile.h View 1 chunk +23 lines, -0 lines 0 comments Download
M src/utils/SkOSFile.cpp View 3 chunks +23 lines, -3 lines 1 comment Download
A tests/OSPathTest.cpp View 1 chunk +77 lines, -0 lines 0 comments Download
M tools/skimage_main.cpp View 4 chunks +6 lines, -23 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scroggo
Elliot, this is basically the same patch as https://codereview.chromium.org/15747004/, which you already approved. Just sending ...
7 years, 6 months ago (2013-05-28 16:44:39 UTC) #1
scroggo
Committed manually as r9295 (presubmit successful).
7 years, 6 months ago (2013-05-28 16:45:22 UTC) #2
epoger
LGTM https://codereview.chromium.org/15740024/diff/1/gm/factory.cpp File gm/factory.cpp (right): https://codereview.chromium.org/15740024/diff/1/gm/factory.cpp#newcode1 gm/factory.cpp:1: /* Would using the Commit Queue (or its ...
7 years, 6 months ago (2013-05-28 17:48:11 UTC) #3
scroggo
7 years, 6 months ago (2013-05-28 17:56:36 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/15740024/diff/1/gm/factory.cpp
File gm/factory.cpp (right):

https://codereview.chromium.org/15740024/diff/1/gm/factory.cpp#newcode1
gm/factory.cpp:1: /*
On 2013/05/28 17:48:11, epoger wrote:
> Would using the Commit Queue (or its trybots [1]) have prevented
> https://code.google.com/p/skia/source/detail?r=9277 from landing in such a way
> that it broke the Windows build?
> 
> If not, please file a bug.
> 
> [1] - by "or its trybots", I mean running "tools/submit_try $CHANGENAME --bot
> cq", which runs tryjobs on the same set of trybots that the commit queue would
> use

I suspect that it would have, although I did not suspect there was an issue of
this not building on other platforms.

https://codereview.chromium.org/15740024/diff/1/gm/factory.cpp#newcode3
gm/factory.cpp:3: *
On 2013/05/28 17:48:11, epoger wrote:
> IMHO, when relanding patches I think it's preferable to upload it as two
> patchsets: patchset 1 which just reapplies the previous patch, and patchset 2
> which fixes the bug.  That way it's easy to see what changed from the previous
> attempt.
> 
> For example: https://codereview.appspot.com/7132060 ('re-land r7258 with fixes
> and tests')

I'll make a mental note to do that next time. That would have been much more
helpful, but I didn't think about it :(

Powered by Google App Engine
This is Rietveld 408576698