Commit 468499f0 authored by darin's avatar darin

- fix build

        * kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction):
        Actually compile it this time.



git-svn-id: svn://svn.chromium.org/blink/trunk@18718 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent afa74b9b
2007-01-09 Darin Adler <darin@apple.com>
- fix build
* kjs/string_object.cpp: (KJS::StringProtoFunc::callAsFunction):
Actually compile it this time.
2007-01-09 Darin Adler <darin@apple.com>
- fix build
......
......@@ -682,7 +682,7 @@ JSValue *StringProtoFunc::callAsFunction(ExecState *exec, JSObject *thisObj, con
case ToLocaleLowerCase: { // FIXME: See http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt for locale-sensitive mappings that aren't implemented.
u = s;
u.copyForWriting();
::UChar* dataPtr = reinterpret_cast<::UChar*>(u.rep()->data());
::UChar* dataPtr = reinterpret_cast< ::UChar*>(u.rep()->data());
::UChar* destIfNeeded;
int len = Unicode::toLower(dataPtr, u.size(), destIfNeeded);
......@@ -698,7 +698,7 @@ JSValue *StringProtoFunc::callAsFunction(ExecState *exec, JSObject *thisObj, con
case ToLocaleUpperCase: { // FIXME: See http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt for locale-sensitive mappings that aren't implemented.
u = s;
u.copyForWriting();
::UChar* dataPtr = reinterpret_cast<::UChar*>(u.rep()->data());
::UChar* dataPtr = reinterpret_cast< ::UChar*>(u.rep()->data());
::UChar* destIfNeeded;
int len = Unicode::toUpper(dataPtr, u.size(), destIfNeeded);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment