Changeset 54870 in webkit for trunk/JavaScriptCore/runtime/UStringImpl.h
- Timestamp:
- Feb 16, 2010, 9:57:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/UStringImpl.h
r54866 r54870 347 347 inline void UStringOrRopeImpl::deref() 348 348 { 349 m_refCountAndFlags -= s_refCountIncrement; 350 if (!(m_refCountAndFlags & s_refCountMask)) { 351 if (isRope()) 352 static_cast<URopeImpl*>(this)->destructNonRecursive(); 353 else if (!s_refCountFlagStatic) 354 delete static_cast<UStringImpl*>(this); 355 } 349 if (isRope()) 350 static_cast<URopeImpl*>(this)->deref(); 351 else 352 static_cast<UStringImpl*>(this)->deref(); 356 353 } 357 354
Note:
See TracChangeset
for help on using the changeset viewer.