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

  Changed paths:
    M 
Source/JavaScriptCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
    M Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp
    M Source/WTF/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
    M Source/WTF/wtf/JSONValues.cpp
    M Source/WTF/wtf/JSONValues.h
    M Source/WTF/wtf/Variant.h
    M Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp
    M Source/WebKit/UIProcess/Extensions/WebExtension.cpp

  Log Message:
  -----------
  Address safer CPP warnings in JSONValues.h
https://bugs.webkit.org/show_bug.cgi?id=302584

Reviewed by Geoffrey Garen.

Warning was about raw StringImpl data member in JSSONValue.
This tested as performance neutral on the benchmarks we track.

* 
Source/JavaScriptCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
* Source/JavaScriptCore/inspector/InspectorBackendDispatcher.cpp:
(Inspector::BackendDispatcher::getString):
* Source/WTF/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
* Source/WTF/wtf/JSONValues.cpp:
(WTF::JSONImpl::Value::visitDerived):
(WTF::JSONImpl::Value::asBoolean const):
(WTF::JSONImpl::Value::asDouble const):
(WTF::JSONImpl::Value::asInteger const):
(WTF::JSONImpl::Value::asString const):
(WTF::JSONImpl::Value::dump const):
(WTF::JSONImpl::Value::writeJSONImpl const):
(WTF::JSONImpl::Value::memoryCostImpl const):
(WTF::JSONImpl::ObjectBase::ObjectBase):
(WTF::JSONImpl::ArrayBase::ArrayBase):
* Source/WTF/wtf/JSONValues.h:
(WTF::JSONImpl::Value::asObject):
(WTF::JSONImpl::Value::asObject const):
(WTF::JSONImpl::Value::asArray):
* Source/WTF/wtf/Variant.h:
* Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp:
(WebCore::parseLicenseFormat):
(WebCore::parseLicenseReleaseAcknowledgementFormat):
* Source/WebKit/UIProcess/Extensions/WebExtension.cpp:
(WebKit::WebExtension::manifestObject):

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



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

Reply via email to