Populate ALL copies of a command line flag during parsing
authorBrian Osman <brianosman@google.com>
Mon, 24 Oct 2016 18:53:08 +0000 (14:53 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 24 Oct 2016 19:32:55 +0000 (19:32 +0000)
commit49f57123eb053b82c95078592ad82f2a628964f7
tree9ee54e8a960729486e17ab26826da3bbc18063c2
parent3d3a65c488162ef1db0b35adf3235d012b04c88d
Populate ALL copies of a command line flag during parsing

Now that we're declaring flags statically per-tool, we were only
setting the value on one of them (randomly) in the linked list.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3881

Change-Id: I448cb7f42ee01a16daa65986b14aee9f1a2a3588
Reviewed-on: https://skia-review.googlesource.com/3881
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
tools/flags/SkCommandLineFlags.cpp