[api] deprecate old v8::String::NewFromUtf8

R=delphick@chromium.org

Bug: v8:7281
Change-Id: I4af641218d4646d3cdf3a2776e9bc24141164638
Reviewed-on: https://chromium-review.googlesource.com/c/1357054
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58016}
This commit is contained in:
Yang Guo 2018-12-03 10:28:16 +01:00 committed by Commit Bot
parent e84b92d765
commit 3d80831d02

View File

@ -2751,7 +2751,7 @@ class V8_EXPORT String : public Name {
}; };
/** Allocates a new string from UTF-8 data.*/ /** Allocates a new string from UTF-8 data.*/
static V8_DEPRECATE_SOON( static V8_DEPRECATED(
"Use maybe version", "Use maybe version",
Local<String> NewFromUtf8(Isolate* isolate, const char* data, Local<String> NewFromUtf8(Isolate* isolate, const char* data,
NewStringType type = kNormalString, NewStringType type = kNormalString,