Make SplitString() and variants clear their outparam vector.  (Note that SplitStringIntoKeyValues() and SplitStringIntoKeyValuePairs() already did this.)  This is more in line with what other APIs that take outparams do.

I audited all callers, and the only ones affected by this are the buggy ones in bug 134695 that already wanted this behavior, as well as the couple of places in this CL that were manually calling clear() and now don't have to.

BUG=134695
TEST=none
TBR=brettw,phajdan.jr
Review URL: https://chromiumcodereview.appspot.com/10684003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144323 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed