gecko-dev/netwerk/protocol/gio
Valentin Gosu f1850e9354 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 : 592d13349a8c4627c7ce3146ec592f577b39f3cc
2018-02-20 22:39:40 +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-20 22:39:40 +01:00