1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:45:07 +00:00
serenity/Userland/Libraries/LibWeb/Loader
Daniel Bertalan 7d11edbe17 Userland: Fix unnecessary heap allocation of singleton objects
In order to avoid having multiple instances, we were keeping a pointer
to these singleton objects and only allocating them when it was null.

We have `__cxa_guard_{acquire,release}` in the userland, so there's no
need to do this dance, as the compiler will ensure that the constructors
are only called once.
2022-01-28 23:31:00 +01:00
..
ContentFilter.cpp Userland: Fix unnecessary heap allocation of singleton objects 2022-01-28 23:31:00 +01:00
ContentFilter.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
FrameLoader.cpp Base+Browser: Add Browser icons 2022-01-12 10:54:54 +01:00
FrameLoader.h LibWeb: Move BrowsingContext into HTML/ 2021-11-18 21:11:30 +01:00
ImageLoader.cpp LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
ImageLoader.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
ImageResource.cpp LibWeb: Move ImageDecoder client connection singleton to its own file 2021-11-20 10:56:31 +01:00
ImageResource.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LoadRequest.cpp LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
LoadRequest.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
Resource.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
Resource.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
ResourceLoader.cpp AK+Userland: Make AK::decode_base64 return ErrorOr 2022-01-24 22:36:09 +01:00
ResourceLoader.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30