Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 09cb9405be41a69a0247c14b7d1aff4d03c20b95..144e0db5b22b496793de6ab4b5ec6f8c712ef419 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -183,6 +183,10 @@ class V8_EXPORT_PRIVATE Factory final { |
MUST_USE_RESULT MaybeHandle<String> NewStringFromUtf8( |
Vector<const char> str, PretenureFlag pretenure = NOT_TENURED); |
+ MUST_USE_RESULT MaybeHandle<String> NewStringFromUtf8SubString( |
+ Handle<SeqOneByteString> str, int begin, int end, |
+ PretenureFlag pretenure = NOT_TENURED); |
+ |
MUST_USE_RESULT MaybeHandle<String> NewStringFromTwoByte( |
Vector<const uc16> str, PretenureFlag pretenure = NOT_TENURED); |