Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: src/extensions/experimental/break-iterator.cc

Issue 6594111: Attempt to fix WebCore windows build. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/experimental/break-iterator.cc
diff --git a/src/extensions/experimental/break-iterator.cc b/src/extensions/experimental/break-iterator.cc
index b00b492b1cb09a6f70699706e03e806e4130475b..0ab9ce14a671b29ed958ed063928270dd2fd6c47 100644
--- a/src/extensions/experimental/break-iterator.cc
+++ b/src/extensions/experimental/break-iterator.cc
@@ -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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698