[webkit-changes] [WebKit/WebKit] 0a2287: Adopt smart pointers in WebCore/bridge/ files

Mikhail R. Gadelha noreply at github.com
Fri May 3 13:17:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a2287a135f68bd03cbcee31be0afd575c27e207
      https://github.com/WebKit/WebKit/commit/0a2287a135f68bd03cbcee31be0afd575c27e207
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M Source/WebCore/bridge/runtime_array.cpp
    M Source/WebCore/bridge/runtime_method.cpp
    M Source/WebCore/bridge/runtime_object.cpp

  Log Message:
  -----------
  Adopt smart pointers in WebCore/bridge/ files
https://bugs.webkit.org/show_bug.cgi?id=273642

Reviewed by Chris Dumez.

Changes based on clang-tidy's alpha.webkit.UncountedLocalVars checker.

* Source/WebCore/bridge/runtime_array.cpp:
(JSC::JSC_DEFINE_CUSTOM_GETTER):
(JSC::RuntimeArray::getOwnPropertyNames):
(JSC::RuntimeArray::getOwnPropertySlot):
(JSC::RuntimeArray::put):
(JSC::RuntimeArray::putByIndex):
* Source/WebCore/bridge/runtime_method.cpp:
(JSC::JSC_DEFINE_CUSTOM_GETTER):
(JSC::RuntimeMethod::getOwnPropertySlot):
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WebCore/bridge/runtime_object.cpp:
(JSC::Bindings::JSC_DEFINE_CUSTOM_GETTER):
(JSC::Bindings::RuntimeObject::getOwnPropertySlot):
(JSC::Bindings::RuntimeObject::put):
(JSC::Bindings::JSC_DEFINE_HOST_FUNCTION):
(JSC::Bindings::RuntimeObject::getOwnPropertyNames):

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



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


More information about the webkit-changes mailing list