[webkit-changes] [WebKit/WebKit] 237e35: Mark WeakHashMap::get() as const

Chris Dumez noreply at github.com
Thu Jan 18 14:43:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 237e35f77727587ccfd97564165530e3f13b2688
      https://github.com/WebKit/WebKit/commit/237e35f77727587ccfd97564165530e3f13b2688
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M Source/WTF/wtf/WeakHashMap.h

  Log Message:
  -----------
  Mark WeakHashMap::get() as const
https://bugs.webkit.org/show_bug.cgi?id=267724

Reviewed by Ryosuke Niwa.

Mark WeakHashMap::get() as const. There doesn't seem to be a good reason for it
not to be const and it makes its usage more restrictive than it needs to be.

* Source/WTF/wtf/WeakHashMap.h:

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




More information about the webkit-changes mailing list