Changeset 40561 in webkit for trunk/JavaScriptCore/wtf/Vector.h
- Timestamp:
- Feb 3, 2009, 5:52:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Vector.h
r40501 r40561 378 378 : Base(inlineBuffer(), inlineCapacity) 379 379 { 380 allocateBuffer(capacity); 380 if (capacity > inlineCapacity) 381 Base::allocateBuffer(capacity); 381 382 } 382 383 … … 390 391 if (newCapacity > inlineCapacity) 391 392 Base::allocateBuffer(newCapacity); 393 else { 394 m_buffer = inlineBuffer(); 395 m_capacity = inlineCapacity; 396 } 392 397 } 393 398
Note:
See TracChangeset
for help on using the changeset viewer.