commit | 11a275c5522ae4dbf8e3dee5c7246e74141b5142 | [log] [tgz] |
---|---|---|
author | fserb <fserb@chromium.org> | Fri Mar 24 00:04:09 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Mar 24 00:04:09 2017 |
tree | f86bf7258c42c140aa69e6de7b6236a43feb38d3 | |
parent | 7c149655e1546c3bb4478f4dca931e5ad35d4073 [diff] |
Adds SVGImageElement to CanvasImageSource Relevant spec: https://html.spec.whatwg.org/multipage/scripting.html#image-sources-for-2d-rendering-contexts:htmlorsvgimageelement SVGImageElement should be part of CanvasImageSource union typedef, i.e., be allowed as an source for drawImage(). This CL does that, while creating a common interface for both HTMLImageElement and SVGImageElement. BUG=695662 Review-Url: https://codereview.chromium.org/2723093004 Cr-Commit-Position: refs/heads/master@{#459289}