mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
![Emilio Cobos Álvarez](/assets/img/avatar_default.png)
GeckoView does this link clearing stuff (which is somewhat dubious), but always used to return NS_OK. The error handling case in Link.cpp was pretty broken anyway (it'd leave the link marked as registered), so make that infallible, given we fatally assert in the non-android case. NotifyVisited is also infallible so make that infallible too. There's no need to use NS_IMETHOD gunk when not using scriptable XPCOM, and these functions are not called from script, so make them regular pure-virtual functions. Depends on D50478. Differential Revision: https://phabricator.services.mozilla.com/D50480 --HG-- extra : moz-landing-system : lando