Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 8adae4e826de18f5e5f17afbec816d6bb599760e..25f197b82e6c6385bbd0703d7605dbcd5319b534 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -171,7 +171,7 @@ Handle<String> Factory::LookupSymbol(Handle<String> string) { |
String); |
} |
-Handle<String> Factory::LookupOneByteSymbol(Vector<const char> string) { |
+Handle<String> Factory::LookupOneByteSymbol(Vector<const uint8_t> string) { |
CALL_HEAP_FUNCTION(isolate(), |
isolate()->heap()->LookupOneByteSymbol(string), |
String); |
@@ -196,8 +196,8 @@ Handle<String> Factory::LookupTwoByteSymbol(Vector<const uc16> string) { |
} |
-Handle<String> Factory::NewStringFromAscii(Vector<const char> string, |
- PretenureFlag pretenure) { |
+Handle<String> Factory::NewStringFromOneByte(Vector<const uint8_t> string, |
+ PretenureFlag pretenure) { |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateStringFromOneByte(string, pretenure), |