Changeset 53456 in webkit for trunk/JavaScriptCore/runtime/UString.cpp
- Timestamp:
- Jan 18, 2010, 11:22:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UString.cpp
r53454 r53456 349 349 UString UString::spliceSubstringsWithSeparators(const Range* substringRanges, int rangeCount, const UString* separators, int separatorCount) const 350 350 { 351 m_rep->checkConsistency(); 352 351 353 if (rangeCount == 1 && separatorCount == 0) { 352 354 int thisSize = size(); … … 390 392 UString UString::replaceRange(int rangeStart, int rangeLength, const UString& replacement) const 391 393 { 394 m_rep->checkConsistency(); 395 392 396 int replacementLength = replacement.size(); 393 397 int totalLength = size() - rangeLength + replacementLength;
Note:
See TracChangeset
for help on using the changeset viewer.