Bug 67083

Summary: Let StringBuilder::resize() allow growing
Product: WebKit Reporter: Xianzhu Wang <wangxianzhu>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ap, darin, shinyak, shinyak, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 66661    

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.