[webkit-changes] [WebKit/WebKit] 6d9a2a: WebPageProxy::m_lastMouseMoveHitTestResult is used...
Fujii Hironori
noreply at github.com
Wed Nov 15 11:50:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6d9a2aaf220311af2938ca5e9351b8d7830795b8
https://github.com/WebKit/WebKit/commit/6d9a2aaf220311af2938ca5e9351b8d7830795b8
Author: Fujii Hironori <Hironori.Fujii at 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 at 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
More information about the webkit-changes
mailing list