[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:
parent
e84b92d765
commit
3d80831d02
@ -2751,7 +2751,7 @@ class V8_EXPORT String : public Name {
|
||||
};
|
||||
|
||||
/** Allocates a new string from UTF-8 data.*/
|
||||
static V8_DEPRECATE_SOON(
|
||||
static V8_DEPRECATED(
|
||||
"Use maybe version",
|
||||
Local<String> NewFromUtf8(Isolate* isolate, const char* data,
|
||||
NewStringType type = kNormalString,
|
||||
|
Loading…
Reference in New Issue
Block a user