зеркало из https://github.com/mozilla/gecko-dev.git
98518a7159
`nsPICommandUpdater` is a scriptable interface, but nobody refers it from JS, and it's implemented only by `nsCommandManager`. Therefore, we can get rid of this interface. Additionally, `nsCommandManager::Init()` is called only by `nsDocShell`, which is the only instantiater of the class, and returns error only when given window is nullptr. Therefore, we can make the constructor take the window instead. Differential Revision: https://phabricator.services.mozilla.com/D25729 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |