Changeset 55035 in webkit for trunk/JavaScriptCore/runtime/UStringImpl.h
- Timestamp:
- Feb 19, 2010, 3:36:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UStringImpl.h
r54870 r55035 213 213 } 214 214 215 PassRefPtr<UStringImpl> singleCharacterSubstring(unsigned index) { ASSERT(index < length()); return create(this, index, 1); } 216 215 217 private: 216 218 // For SmallStringStorage, which allocates an array and uses an in-place new. … … 343 345 344 346 friend class UStringOrRopeImpl; 347 friend PassRefPtr<UStringImpl> singleCharacterSubstring(UStringOrRopeImpl* ropeoid, unsigned index); 345 348 }; 346 349 … … 355 358 bool equal(const UStringImpl*, const UStringImpl*); 356 359 360 PassRefPtr<UStringImpl> singleCharacterSubstring(UStringOrRopeImpl* ropeoid, unsigned index); 361 357 362 } 358 363
Note:
See TracChangeset
for help on using the changeset viewer.