Commit 06ecb615 authored by ager@chromium.org's avatar ager@chromium.org

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