Currently this prevents code like in https://searchfox.org/mozilla-central/rev/5a1a34953a26117f3be1a00db20c8bbdc03273d6/widget/nsPrinterCUPS.h#110 from simply returning a lock. Since it's already possible to use the type if its declaration is `auto` this change just allows us to return it from functions.
Bug 1676976 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Currently this is prevented by DataMutex::AutoLock being private.