Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 9363) |
+++ src/factory.cc (working copy) |
@@ -234,7 +234,7 @@ |
Handle<String> Factory::NewExternalStringFromAscii( |
- ExternalAsciiString::Resource* resource) { |
+ const ExternalAsciiString::Resource* resource) { |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateExternalStringFromAscii(resource), |
@@ -243,7 +243,7 @@ |
Handle<String> Factory::NewExternalStringFromTwoByte( |
- ExternalTwoByteString::Resource* resource) { |
+ const ExternalTwoByteString::Resource* resource) { |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateExternalStringFromTwoByte(resource), |