gecko-dev/netwerk/protocol/gio
Valentin Gosu 55a7a824c6 Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
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 : f2a17aee7bb66a7ba8652817d43b9aa7ec7ef710
2018-02-21 01:00:54 +01:00
..
moz.build Bug 1344038 - Remove --disable-gio. r=karlt 2017-04-05 14:06:25 +09:00
nsGIOProtocolHandler.cpp Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer 2018-02-21 01:00:54 +01:00