Bug 67083 - Let StringBuilder::resize() allow growing
Summary: Let StringBuilder::resize() allow growing
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 66661
  Show dependency treegraph
 
Reported: 2011-08-26 21:02 PDT by Xianzhu Wang
Modified: 2011-12-14 23:09 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xianzhu Wang 2011-08-26 21:02:42 PDT
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.