Fix shared library build.
Review URL: https://chromiumcodereview.appspot.com/9117028 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10487 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
4aa558f22d
commit
22f97d99be
@ -1036,9 +1036,7 @@ Handle<Value> Shell::ReadBinary(const Arguments& args) {
|
|||||||
// We skip checking the string for UTF8 characters and use it raw as
|
// We skip checking the string for UTF8 characters and use it raw as
|
||||||
// backing store for the external string with 8-bit characters.
|
// backing store for the external string with 8-bit characters.
|
||||||
BinaryResource* resource = new BinaryResource(chars, size);
|
BinaryResource* resource = new BinaryResource(chars, size);
|
||||||
i::Handle<i::String> string(
|
return String::NewExternal(resource);
|
||||||
FACTORY->NewExternalStringFromAscii(resource));
|
|
||||||
return Utils::ToLocal(string);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user