gecko-dev/dom/webbrowserpersist
Valentin Gosu d97def2f41 Bug 1722925 - Remove NS_MutatorMethod in favor of templated nsIURIMutator::Apply r=necko-reviewers,kershaw
This basically reverts the changes in 5caa81103c00 (bug 1435671). In that bug
we switched from having a templated method to using a templated function
that returned a lambda because the templated method caused a binary size
regression on windows (MSVC). Since Firefox 67 we no longer support MSVC.
Using a lambda also required capturing the arguments by value, so it was
slightly inefficient.

This patch removes NS_MutatorMethod and makes the Apply method a template.
This improves perfomance as we can just pass the arguments to the called
function, without worrying about needing to copy them.
Since MSVC is not supported anymore, and clang and gcc didn't report a
binary size regression, this is a much better solution.

Differential Revision: https://phabricator.services.mozilla.com/D122081
2021-08-12 07:40:58 +00:00
..
PWebBrowserPersistDocument.ipdl Bug 1689147 - Part 1: Add extended attribute syntax to IPDL, r=mccr8 2021-02-09 16:50:21 +00:00
PWebBrowserPersistResources.ipdl Bug 1682103 - Make nsContentPolicyType a CEnum type. r=ckerschb 2020-12-16 11:36:47 +00:00
PWebBrowserPersistSerialize.ipdl
WebBrowserPersistDocumentChild.cpp Bug 1641270 - Part 2: Make WebBrowserPersistDocument aware of CookieJarSettings. r=smaug 2020-11-11 11:14:00 +00:00
WebBrowserPersistDocumentChild.h
WebBrowserPersistDocumentParent.cpp
WebBrowserPersistDocumentParent.h
WebBrowserPersistLocalDocument.cpp Bug 1715134 - Make form control type an enum class. r=masayuki 2021-06-08 09:43:59 +00:00
WebBrowserPersistLocalDocument.h Bug 1673931 - Avoid including Document.h from header files. r=emilio 2020-11-23 16:07:43 +00:00
WebBrowserPersistRemoteDocument.cpp Bug 1641270 - Part 2: Make WebBrowserPersistDocument aware of CookieJarSettings. r=smaug 2020-11-11 11:14:00 +00:00
WebBrowserPersistRemoteDocument.h Bug 1641270 - Part 2: Make WebBrowserPersistDocument aware of CookieJarSettings. r=smaug 2020-11-11 11:14:00 +00:00
WebBrowserPersistResourcesChild.cpp Bug 1626555 - Add `dom/webbrowserpersist` to the list of non-unified-build-compatible directories. r=sg 2020-11-10 16:18:01 +00:00
WebBrowserPersistResourcesChild.h
WebBrowserPersistResourcesParent.cpp
WebBrowserPersistResourcesParent.h
WebBrowserPersistSerializeChild.cpp
WebBrowserPersistSerializeChild.h
WebBrowserPersistSerializeParent.cpp
WebBrowserPersistSerializeParent.h
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
nsIWebBrowserPersist.idl Bug 1641270 - Part 6: Pass CookieJarSettings to nsIWebBrowserPersist.saveURI() and nsIWebBrowserPersist.savePrivacyAwareURI(). r=smaug 2020-11-11 18:19:27 +00:00
nsIWebBrowserPersistDocument.idl Bug 1641270 - Part 2: Make WebBrowserPersistDocument aware of CookieJarSettings. r=smaug 2020-11-11 11:14:00 +00:00
nsWebBrowserPersist.cpp Bug 1722925 - Remove NS_MutatorMethod in favor of templated nsIURIMutator::Apply r=necko-reviewers,kershaw 2021-08-12 07:40:58 +00:00
nsWebBrowserPersist.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00