Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d9a2aaf220311af2938ca5e9351b8d7830795b8
      
https://github.com/WebKit/WebKit/commit/6d9a2aaf220311af2938ca5e9351b8d7830795b8
  Author: Fujii Hironori <hironori.fu...@sony.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  WebPageProxy::m_lastMouseMoveHitTestResult is used only if PLATFORM(MAC)
https://bugs.webkit.org/show_bug.cgi?id=264361

Reviewed by Don Olmstead.

WebPageProxy and API::HitTestResult objects were leaking after
270308@main. It was caused by a cyclic referencing between
WebPageProxy::m_lastMouseMoveHitTestResult and
API::HitTestResult::m_page.

m_lastMouseMoveHitTestResult is used only if PLATFORM(MAC).

* Source/WebKit/UIProcess/WebPageProxy.cpp:
* Source/WebKit/UIProcess/WebPageProxy.h:
Conditioned out the code of m_lastMouseMoveHitTestResult with #if PLATFORM(MAC).

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to