Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57ea3e484a6b91a2b5a6a3d2c646798cf69eb45a
      
https://github.com/WebKit/WebKit/commit/57ea3e484a6b91a2b5a6a3d2c646798cf69eb45a
  Author: Sam Weinig <[email protected]>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M Source/WebCore/page/ContextMenuContext.h
    M Source/WebCore/page/ContextMenuController.cpp
    M Source/WebKit/Shared/ContextMenuContextData.cpp
    M Source/WebKitLegacy/mac/WebCoreSupport/WebContextMenuClient.mm

  Log Message:
  -----------
  [Image Redux] Remove unused controlled image code in ContextMenuContext
https://bugs.webkit.org/show_bug.cgi?id=325670

Reviewed by Wenson Hsieh.

Nothing ever calls ContextMenuContext::setControlledImage(), and since 
m_controlledImage
is not set in any constructors, it is always null. That means all calls to
ContextMenuContext::controlledImage() always return null and can be remove as 
well.

* Source/WebCore/page/ContextMenuContext.h:
* Source/WebCore/page/ContextMenuController.cpp:
* Source/WebKit/Shared/ContextMenuContextData.cpp:
* Source/WebKitLegacy/mac/WebCoreSupport/WebContextMenuClient.mm:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to