[webkit-changes] [WebKit/WebKit] a7a02c: No need for bridging, just call NSString methods

Rose noreply at github.com
Mon Sep 30 18:03:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7a02c10d2cdb9fc8b7320c2172789c4e7d3f4d2
      https://github.com/WebKit/WebKit/commit/a7a02c10d2cdb9fc8b7320c2172789c4e7d3f4d2
  Author: Rose <gfunni234 at gmail.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M Source/WebCore/bridge/objc/objc_class.mm

  Log Message:
  -----------
  No need for bridging, just call NSString methods
https://bugs.webkit.org/show_bug.cgi?id=280133

Reviewed by Ben Nham.

If we want to use an NSString, use NSString methods
unlessthere is a benefit using bridging.

* Source/WebCore/bridge/objc/objc_class.mm:
  (JSC::Bindings::ObjcClass::methodNamed const): Use NSString.
  (JSC::Bindings::ObjcClass::fieldNamed const): Ditto.

Canonical link: https://commits.webkit.org/284479@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