Changes between Version 1 and Version 2 of Ticket #7253


Ignore:
Timestamp:
02/02/2019 11:40:02 AM (9 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7253 – Description

    v1 v2  
    1010 * Overall savings in CPU usage for typical browsing can be ~5-10% at least 
    1111 
     12PS: I got this idea [https://github.com/gorhill/uBlock/blob/5b7a3c99830abf9bb062ddf83ab5718e3495d102/platform/chromium/vapi-background.js#L693 from uBlock Origin]. 
     13 
    1214=== What to change === 
    1315In `lib/icon.js`, render the non-whitelisted and whitelisted versions of the icons of all sizes into `ImageData` objects, and pass these objects to `BrowserAction.prototype.setIcon` as an additional parameter.