mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00

They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the latter catches a few missing checks, which the patch adds. The patch also gives PuppetWidget an InfallibleCreate() function, which makes the infallibility of PuppetWidget creation clear.