Assistant Optin UI: use <img> instead of <iron-icon> where possible. |
||
Issue descriptionIn several places within resources/chromeos/assistant_optin/, <iron-icon> is used to load an image. Initiating custom-elements (and therefore new shadow-doms) have performance costs, So for places where we're not taking advantage of SVG icons[1], we should use <img> with height/width CSS styling instead. [1] https://cs.chromium.org/search/?q=%22%3Ciron-icon+src%22+file:%5Esrc/chrome/browser/resources/chromeos/assistant_optin/+package:%5Echromium$&type=cs
,
Jul 25
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jul 25