DescriptionTreat default command line argument properly.
In SkCommandLineFlags, if the client sets a default value
of multiple arguments (e.g. "arg0 arg1 ..."), set
the actual defaults to all of those arguments separately
(i.e. an array with [0] == "arg0", [1] == "arg1", ...),
rather than as one string (i.e. [0] == "arg0 arg1 ...").
Remove the hack that worked around this bug.
Also move the increasingly complicated implementation of
SkFlagInfo::CreateStringFlag into the cpp file.
BUG=https://code.google.com/p/skia/issues/detail?id=1237
Committed: https://code.google.com/p/skia/source/detail?r=8845
Patch Set 1 #
Total comments: 10
Patch Set 2 : Respond to comments. #
Total comments: 2
Patch Set 3 : pType -> p<Type> #
Messages
Total messages: 6 (0 generated)
|