Bug 1686838 [wpt PR 27194] - [webcodecs] Deprecate VideoFrame.destroy()., a=testonly
commit2bfd6a778298ba06da0c0854e2dc3a8cf2964eb5
authorDan Sanders <sandersd@chromium.org>
Tue, 19 Jan 2021 16:25:48 +0000 (19 16:25 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 21 Jan 2021 14:17:24 +0000 (21 14:17 +0000)
tree1955ca54f4632e68c974fd9feb670481f1f55032
parent6d5c1e5451952aa0ecaf9713ef4b3753eec5fe0e
Bug 1686838 [wpt PR 27194] - [webcodecs] Deprecate VideoFrame.destroy()., a=testonly

Automatic update from web-platform-tests
[webcodecs] Deprecate VideoFrame.destroy().

This CL adds VideoFrame.close() as an alias for VideoFrame.destroy(),
adds a deprecation message for VideoFrame.destroy(), and changes all
callsites to use close().

Bug: 1166930
Change-Id: I39b9c68262553a6814f6bb0b6b81c02012c2d026
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631405
Commit-Queue: Dan Sanders <sandersd@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844250}

--

wpt-commits: 1895256f46deb64c491bff1d5bc2e4372dd35731
wpt-pr: 27194
testing/web-platform/tests/webcodecs/video-decoder.any.js
testing/web-platform/tests/webcodecs/video-encoder.any.js
testing/web-platform/tests/webcodecs/video-frame-serialization.any.js
testing/web-platform/tests/webcodecs/video-frame.any.js
testing/web-platform/tests/webcodecs/video-track-reader.html