Mark old Module::Instantiate method as deprecated
Embedders should use Module::InstantiateModule R=neis@chromium.org Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: Iebd5beeeeb9ea7025c61b97b666827e0a6ec89ad Reviewed-on: https://chromium-review.googlesource.com/519162 Reviewed-by: Georg Neis <neis@chromium.org> Commit-Queue: Jochen Eisinger <jochen@chromium.org> Cr-Commit-Position: refs/heads/master@{#45655}
This commit is contained in:
parent
ba8a753947
commit
fc0fccd0db
@ -1113,9 +1113,9 @@ class V8_EXPORT Module {
|
||||
* instantiation. (In the case where the callback throws an exception, that
|
||||
* exception is propagated.)
|
||||
*/
|
||||
V8_DEPRECATE_SOON("Use Maybe<bool> version",
|
||||
bool Instantiate(Local<Context> context,
|
||||
ResolveCallback callback));
|
||||
V8_DEPRECATED("Use Maybe<bool> version",
|
||||
bool Instantiate(Local<Context> context,
|
||||
ResolveCallback callback));
|
||||
V8_WARN_UNUSED_RESULT Maybe<bool> InstantiateModule(Local<Context> context,
|
||||
ResolveCallback callback);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user