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