Attempt to fix WebCore windows build.

If this does not work I will revert the latests changes to the
experimental i8n extension.

TBR=cira@chromium.org

Review URL: http://codereview.chromium.org/6594111

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7008 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
ager@chromium.org 2011-03-02 07:12:53 +00:00
parent 1d040083b0
commit 06ecb61598

View File

@ -82,8 +82,9 @@ v8::Handle<v8::Value> BreakIterator::BreakIteratorAdoptText(
} }
v8::Local<v8::String> text_value = args[0]->ToString(); v8::Local<v8::String> text_value = args[0]->ToString();
UnicodeString text(*v8::String::Value(text_value), const UChar* text =
text_value->Length()); reinterpret_cast<const UChar*>(*v8::String::Value(text_value));
UnicodeString text(text, text_value->Length());
break_iterator->setText(text); break_iterator->setText(text);