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:
Jochen Eisinger 2017-05-31 11:06:42 +02:00 committed by Commit Bot
parent ba8a753947
commit fc0fccd0db

View File

@ -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);