DescriptionMerge odd items and even items of FormDataList::m_items.
FormDataList::Item class represents a name string in a form data, or a value in
a form data. A value can be a string or Blob, but a name string is always a
string. Representing a name string by Item class is overkill. This CL adds
m_key member to Item class.
Odd items in FormDataList::m_items represented name strings, and even items in
FormDataList::m_items represented values. Now each of items in
FormDataList::m_items represents a pair of a name string and a value. This
makes the code much simpler.
This CL has no behavior changes.
BUG=528840
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201862
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|