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

Issue 19807005: refactor duplication (shouldSkip and skip_name) into a utility function (Closed)

Created:
7 years, 5 months ago by sglez
Modified:
7 years, 5 months ago
Reviewers:
caryclark, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

refactor duplication (shouldSkip and skip_name) into a utility function R=caryclark@google.com, reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=10280 Committed: https://code.google.com/p/skia/source/detail?r=10317

Patch Set 1 #

Patch Set 2 : Forgot to add new files.. #

Total comments: 1

Patch Set 3 : Move to SkCommandLineFlags #

Total comments: 1

Patch Set 4 : Capitalize #

Patch Set 5 : Forced linking is required, shouldn't have removed it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -107 lines) Patch
M bench/benchmain.cpp View 1 2 3 3 chunks +2 lines, -33 lines 0 comments Download
M gm/gmmain.cpp View 1 2 3 4 2 chunks +6 lines, -33 lines 0 comments Download
M gyp/bench.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/skia_test.cpp View 1 2 3 3 chunks +9 lines, -40 lines 0 comments Download
M tools/flags/SkCommandLineFlags.h View 1 2 3 3 chunks +10 lines, -1 line 0 comments Download
M tools/flags/SkCommandLineFlags.cpp View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
sglez
7 years, 5 months ago (2013-07-22 20:33:44 UTC) #1
caryclark
lgtm, but let reed weigh in before committing
7 years, 5 months ago (2013-07-22 20:36:36 UTC) #2
reed1
https://codereview.chromium.org/19807005/diff/2001/tools/ToolUtils.h File tools/ToolUtils.h (right): https://codereview.chromium.org/19807005/diff/2001/tools/ToolUtils.h#newcode13 tools/ToolUtils.h:13: bool shouldSkip(const SkTDArray<const char*>& strings, const char* name); 1. ...
7 years, 5 months ago (2013-07-23 14:01:40 UTC) #3
sglez
On 2013/07/23 14:01:40, reed1 wrote: > https://codereview.chromium.org/19807005/diff/2001/tools/ToolUtils.h > File tools/ToolUtils.h (right): > > https://codereview.chromium.org/19807005/diff/2001/tools/ToolUtils.h#newcode13 > ...
7 years, 5 months ago (2013-07-23 15:16:20 UTC) #4
reed1
I think I'd vote for SkCommandLineFlags for now, since this new function is only needed ...
7 years, 5 months ago (2013-07-23 15:18:59 UTC) #5
sglez
Function is now a static method in SkCommandLineFlags
7 years, 5 months ago (2013-07-23 15:40:42 UTC) #6
reed1
https://codereview.chromium.org/19807005/diff/15001/tools/flags/SkCommandLineFlags.h File tools/flags/SkCommandLineFlags.h (right): https://codereview.chromium.org/19807005/diff/15001/tools/flags/SkCommandLineFlags.h#newcode118 tools/flags/SkCommandLineFlags.h:118: static bool shouldSkip(const SkTDArray<const char*>& strings, const char* name); ...
7 years, 5 months ago (2013-07-23 15:41:32 UTC) #7
sglez
On 2013/07/23 15:41:32, reed1 wrote: > https://codereview.chromium.org/19807005/diff/15001/tools/flags/SkCommandLineFlags.h > File tools/flags/SkCommandLineFlags.h (right): > > https://codereview.chromium.org/19807005/diff/15001/tools/flags/SkCommandLineFlags.h#newcode118 > ...
7 years, 5 months ago (2013-07-23 15:45:53 UTC) #8
reed1
lgtm
7 years, 5 months ago (2013-07-23 15:47:08 UTC) #9
sglez
Committed patchset #4 manually as r10280 (presubmit successful).
7 years, 5 months ago (2013-07-23 17:26:38 UTC) #10
sglez
One line change. This change got reverted because I removed the SK_FORCE_LINKING line. I mistakenly ...
7 years, 5 months ago (2013-07-23 22:17:43 UTC) #11
sglez
Requesting blessing for one-line fix to this reverted change
7 years, 5 months ago (2013-07-24 14:39:15 UTC) #12
reed1
lgtm
7 years, 5 months ago (2013-07-24 15:01:05 UTC) #13
sglez
7 years, 5 months ago (2013-07-24 17:24:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 manually as r10317 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698