Changeset 94336 in webkit for trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
- Timestamp:
- Sep 1, 2011, 1:04:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
r91966 r94336 368 368 369 369 if (size == 1) { 370 UChar c = s .characters()[0];370 UChar c = s[0]; 371 371 if (isASCIIDigit(c)) 372 372 return c - '0'; … … 411 411 412 412 if (size == 1) { 413 UChar c = s .characters()[0];413 UChar c = s[0]; 414 414 if (isASCIIDigit(c)) 415 415 return c - '0';
Note:
See TracChangeset
for help on using the changeset viewer.