Switch chrome://media-app to the new createWritable() API method.
The `Save` operation in chrome://media-app started failing after r749464. Console errors like `createWriter` is undefined. r749464 tore out the old API and replaced it with a new one. Unfortunately, this only changed IDL files, and not the externs file that JS needs to compile against. This change updates the externs file to match the IDL file, making the regression detectable at compile time. Filed b/151394309 to investigate ways to detect when the externs file does not match the idl files and complain about it. The externs file is verbatim from cl/300232012. Bug: 1061813 Change-Id: I2de55447b640aec3338640db75a323a877beffde Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2103011Reviewed-by:Bugs Nash <bugsnash@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#750852}
Showing
Please register or sign in to comment