mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
f1850e9354
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument. The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result. MozReview-Commit-ID: Jjqp7gGLG1D --HG-- extra : rebase_source : 592d13349a8c4627c7ce3146ec592f577b39f3cc |
||
---|---|---|
.. | ||
moz.build | ||
nsGIOProtocolHandler.cpp |