Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 655a16f4a6bba2c16c05afefff2bfe37e80bb0bb
      
https://github.com/WebKit/WebKit/commit/655a16f4a6bba2c16c05afefff2bfe37e80bb0bb
  Author: Claudio Saavedra <[email protected]>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIObject.h

  Log Message:
  -----------
  Address safer CPP warnings in generated extensions code
https://bugs.webkit.org/show_bug.cgi?id=301513

Reviewed by Timothy Hatcher.

There are plenty of Safer CPP warnings due to access to
impl->runtime() in generated bindings code, it looks like these
resolve to WebExtensionAPIObject::runtime(), which accesses the
m_runtime member. Marking it const and lazy-initializing it will
probably fix those warnings.

* Source/WebKit/WebProcess/Extensions/API/WebExtensionAPIObject.h:
(WebKit::WebExtensionAPIObject::WebExtensionAPIObject):

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



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

Reply via email to