Changeset 27135 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 26, 2007, 6:37:04 PM (18 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSStringRefCOM.cpp
r27123 r27135 35 35 JSStringRef JSStringCreateWithBSTR(BSTR string) 36 36 { 37 return JSStringCreateWithCharacters(string , SysStringLen(string));37 return JSStringCreateWithCharacters(string ? string : L"", string ? SysStringLen(string) : 0); 38 38 } 39 39 -
trunk/JavaScriptCore/ChangeLog
r27134 r27135 1 2007-10-26 Kevin McCullough <[email protected]> 2 3 Reviewed by Adam. 4 5 - Made JSStringCreateWithBSTR capable of handling null BSTRs. 6 7 * API/JSStringRefCOM.cpp: 8 (JSStringCreateWithBSTR): 9 1 10 2007-10-26 Sam Weinig <[email protected]> 2 11
Note:
See TracChangeset
for help on using the changeset viewer.