[Extensions] Use fetch/createImageBitmap in loadImagePath.
This change uses code that is compatible with both Service Worker-based extensions and background/event page-based extensions to implement the browserAction.setIcon() JavaScript code. Bug: 1015136 Change-Id: I1bc55cd5da2cc106e8d74dba172122d2bf943d31 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1921640Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: David Bertoni <dbertoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#718928}
Showing
Please register or sign in to comment