Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1829739d63b02060904a255309e8a563cec04b5e
      
https://github.com/WebKit/WebKit/commit/1829739d63b02060904a255309e8a563cec04b5e
  Author: Charlie Wolfe <charl...@apple.com>
  Date:   2025-05-13 (Tue, 13 May 2025)

  Changed paths:
    M Source/WebCore/history/BackForwardCache.cpp

  Log Message:
  -----------
  Remove unnecessary RefPtr in BackForwardCache
https://bugs.webkit.org/show_bug.cgi?id=292956
rdar://151252906

Reviewed by Wenson Hsieh and Aditya Keerthi.

Crash data indicates a WebKitLegacy crash occurs after creating a RefPtr to 
LocalFrame in
`BackForwardCache::markPagesForContentsSizeChanged`. The RefPtr introduced in 
288208@main is unnecessary,
as it is only used for address comparison. We should just remove it.

* Source/WebCore/history/BackForwardCache.cpp:
(WebCore::BackForwardCache::markPagesForDeviceOrPageScaleChanged):
(WebCore::BackForwardCache::markPagesForContentsSizeChanged):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to