Revision: 10487
Author:   [email protected]
Date:     Tue Jan 24 04:10:28 2012
Log:      Fix shared library build.

Review URL: https://chromiumcodereview.appspot.com/9117028
http://code.google.com/p/v8/source/detail?r=10487

Modified:
 /branches/bleeding_edge/src/d8.cc

=======================================
--- /branches/bleeding_edge/src/d8.cc   Tue Jan 24 03:55:11 2012
+++ /branches/bleeding_edge/src/d8.cc   Tue Jan 24 04:10:28 2012
@@ -1036,9 +1036,7 @@
   // We skip checking the string for UTF8 characters and use it raw as
   // backing store for the external string with 8-bit characters.
   BinaryResource* resource = new BinaryResource(chars, size);
-  i::Handle<i::String> string(
-      FACTORY->NewExternalStringFromAscii(resource));
-  return Utils::ToLocal(string);
+  return String::NewExternal(resource);
 }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to