summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Loader
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-05-11 15:52:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-18 21:02:07 +0200
commitd325403cb599da640d5e8313c96155c16799c87a (patch)
treed05fbfac84e297b273ee8bcf0fd1d5678f2b295c /Userland/Libraries/LibWeb/Loader
parentf51b0729f519116c288b9bd9a1251daf66d7fa49 (diff)
downloadserenity-d325403cb599da640d5e8313c96155c16799c87a.zip
LibTextCodec: Use Optional<String> for get_standardized_encoding
This patch changes get_standardized_encoding to use an Optional<String> return type instead of just returning the null string when unable to match the provided encoding to one of the canonical encoding names. This is part of an effort to move away from using null strings towards explicitly using Optional<String> to indicate that the String may not have a value.
Diffstat (limited to 'Userland/Libraries/LibWeb/Loader')
0 files changed, 0 insertions, 0 deletions