Bug 67083 - Let StringBuilder::resize() allow growing
: Let StringBuilder::resize() allow growing
Status: UNCONFIRMED
: WebKit
Web Template Framework
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
:
: 66661
  Show dependency treegraph
 
Reported: 2011-08-26 21:02 PST by
Modified: 2011-12-14 23:09 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-08-26 21:02:42 PST
For now StringBuilder::resize() only allow shrinking (or do nothing if the new size is the same as the current length). To match Vector<UChar>'s resize() we need to remove the constraint.
We could also add shrink() and grow() methods for more specific usages.