Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ccf8e41e979d4989cb7f26b056f09af7c1d0d0ee
      
https://github.com/WebKit/WebKit/commit/ccf8e41e979d4989cb7f26b056f09af7c1d0d0ee
  Author: Chris Dumez <[email protected]>
  Date:   2025-11-11 (Tue, 11 Nov 2025)

  Changed paths:
    M Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations
    M Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WTF/wtf/text/AtomString.h
    M Source/WTF/wtf/text/AtomStringImpl.cpp
    M Source/WTF/wtf/text/AtomStringImpl.h
    M Source/WTF/wtf/text/CString.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WebCore/css/CSSFontFaceSet.cpp
    M Source/WebCore/css/CSSFontSelector.cpp
    M Source/WebCore/dom/make_names.pl
    M Source/WebCore/platform/graphics/FontCascadeFonts.cpp
    M Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp
    M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp
    M Source/WebCore/style/StyleResolveForFont.cpp

  Log Message:
  -----------
  Address safer CPP warnings in AtomStringImpl.cpp & CString.cpp
https://bugs.webkit.org/show_bug.cgi?id=302238

Reviewed by Darin Adler.

Also update the `AtomString(const StaticStringImpl*)` construct to take
in a C++ reference since the implementation expects the pointer to be non
null.

* Source/WTF/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WTF/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WTF/wtf/text/AtomString.h:
(WTF::AtomString::AtomString):
* Source/WTF/wtf/text/AtomStringImpl.cpp:
(WTF::addToStringTable):
(WTF::UTF16BufferTranslator::translate):
(WTF::HashedUTF8CharactersTranslator::equal):
(WTF::HashedUTF8CharactersTranslator::translate):
(WTF::AtomStringImpl::add):
(WTF::SubstringTranslator::translate):
(WTF::Latin1BufferTranslator::translate):
(WTF::BufferFromStaticDataTranslator::translate):
(WTF::AtomStringImpl::addSlowCase):
(WTF::AtomStringImpl::lookUpSlowCase):
(WTF::AtomStringImpl::lookUp):
* Source/WTF/wtf/text/AtomStringImpl.h:
* Source/WTF/wtf/text/CString.cpp:
(WTF::CStringBuffer::createUninitialized):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::StringImpl::StaticStringImpl::operator const StringImpl& const):
* Source/WebCore/css/CSSFontFaceSet.cpp:
(WebCore::CSSFontFaceSet::matchingFacesExcludingPreinstalledFonts):
* Source/WebCore/css/CSSFontSelector.cpp:
(WebCore::m_version):
* Source/WebCore/dom/make_names.pl:
(printTagNameCppFile):
(printDefinitions):
* Source/WebCore/platform/graphics/FontCascadeFonts.cpp:
(WebCore::FontCascadeFonts::realizeFallbackRangesAt):
* Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::getFamilyNameStringFromFamily):
* Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp:
(WebCore::getFamilyNameStringFromFamily):
* Source/WebCore/style/StyleResolveForFont.cpp:
(WebCore::Style::fontFamilyFromUnresolvedFontFamily):
(WebCore::Style::resolveForUnresolvedFont):

Canonical link: https://commits.webkit.org/302890@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to