Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d21c1cc76459a236104ed2341d1935e2ec0bf194 https://github.com/WebKit/WebKit/commit/d21c1cc76459a236104ed2341d1935e2ec0bf194 Author: Žan Doberšek <zdober...@igalia.com> Date: 2023-02-09 (Thu, 09 Feb 2023)
Changed paths: M Source/WTF/wtf/text/StringConcatenate.h M Source/WTF/wtf/text/StringOperators.h Log Message: ----------- Const-ify methods on different StringTypeAdapter specializations https://bugs.webkit.org/show_bug.cgi?id=251985 Reviewed by Sam Weinig. Add missing const qualifiers on methods across different StringTypeAdapter specializations. This also enables the StringAppend specialization of StringTypeAdapter to hold a const reference to the passed-in StringAppend object. This aligns all the StringTypeAdapter specializations in using const qualifiers on their methods, allowing for further improvements in how the adapter objects are handled in different methods and the StringAppend class. * Source/WTF/wtf/text/StringConcatenate.h: * Source/WTF/wtf/text/StringOperators.h: (WTF::StringAppend::is8Bit const): (WTF::StringAppend::writeTo const): (WTF::StringAppend::length const): (WTF::StringAppend::is8Bit): Deleted. (WTF::StringAppend::writeTo): Deleted. (WTF::StringAppend::length): Deleted. Canonical link: https://commits.webkit.org/260065@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes