[webkit-changes] [WebKit/WebKit] e523b9: Stop using CheckedRef with HistoryItem

Chris Dumez noreply at github.com
Fri Dec 15 10:09:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e523b9d34f4b139877d33e87c72ddf21fb963e23
      https://github.com/WebKit/WebKit/commit/e523b9d34f4b139877d33e87c72ddf21fb963e23
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M Source/WebCore/history/HistoryItem.cpp
    M Source/WebCore/history/HistoryItem.h
    M Source/WebKitLegacy/mac/History/WebHistoryItem.mm

  Log Message:
  -----------
  Stop using CheckedRef with HistoryItem
https://bugs.webkit.org/show_bug.cgi?id=266459

Reviewed by Ryosuke Niwa.

Stop using CheckedRef with HistoryItem. Use WeakRef instead to generate
more actionable crashes.

* Source/WebCore/history/HistoryItem.cpp:
(WebCore::HistoryItem::HistoryItem):
* Source/WebCore/history/HistoryItem.h:
* Source/WebKitLegacy/mac/History/WebHistoryItem.mm:

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




More information about the webkit-changes mailing list