Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c213f1482344766a10d916bf190fdd2db73ebdaf
      
https://github.com/WebKit/WebKit/commit/c213f1482344766a10d916bf190fdd2db73ebdaf
  Author: Ryosuke Niwa <rn...@webkit.org>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M Source/WebCore/editing/cocoa/DataDetection.mm

  Log Message:
  -----------
  Crash in TimerBase::~TimerBase via DataDetection::detectContentInFrame
https://bugs.webkit.org/show_bug.cgi?id=278259
<rdar://133488287>

Reviewed by Wenson Hsieh.

Speculative fix. Use a WeakPtr instead of RefPtr in detectContentInFrame so that
we don't attempt to destruct Document in a background thread.

* Source/WebCore/editing/cocoa/DataDetection.mm:
(WebCore::DataDetection::detectContentInFrame):

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