Revision: 7008
Author: [email protected]
Date: Tue Mar 1 23:12:53 2011
Log: Attempt to fix WebCore windows build.
If this does not work I will revert the latests changes to the
experimental i8n extension.
[email protected]
Review URL: http://codereview.chromium.org/6594111
http://code.google.com/p/v8/source/detail?r=7008
Modified:
/branches/bleeding_edge/src/extensions/experimental/break-iterator.cc
=======================================
--- /branches/bleeding_edge/src/extensions/experimental/break-iterator.cc
Tue Mar 1 11:43:28 2011
+++ /branches/bleeding_edge/src/extensions/experimental/break-iterator.cc
Tue Mar 1 23:12:53 2011
@@ -82,8 +82,9 @@
}
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);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev