Changeset 35691 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp
- Timestamp:
- Aug 12, 2008, 1:54:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ustring.cpp
r35458 r35691 65 65 if (length > maxUChars()) 66 66 return 0; 67 return static_cast<UChar*>( fastMalloc(sizeof(UChar) * length));67 return static_cast<UChar*>(tryFastMalloc(sizeof(UChar) * length)); 68 68 } 69 69 … … 73 73 if (length > maxUChars()) 74 74 return 0; 75 return static_cast<UChar*>( fastRealloc(buffer, sizeof(UChar) * length));75 return static_cast<UChar*>(tryFastRealloc(buffer, sizeof(UChar) * length)); 76 76 } 77 77
Note:
See TracChangeset
for help on using the changeset viewer.