Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4fa9f18222904eac045f52b78a399ddb0e39310
      
https://github.com/WebKit/WebKit/commit/d4fa9f18222904eac045f52b78a399ddb0e39310
  Author: Ahmad Saleem <[email protected]>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M Source/WebCore/dom/Document+HTML.idl
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M 
Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentGtk.cpp
    M Source/WebKitLegacy/mac/DOM/DOMHTMLDocument.mm

  Log Message:
  -----------
  Remove `plugins()` and use `ImplementAs=embeds` in 'Document+HTML.idl'

https://bugs.webkit.org/show_bug.cgi?id=276141
rdar://131407054

Reviewed by Anne van Kesteren.

This patch is to reuse 'embeds()' for 'plugins()' by leveraging
[ImplementAs] in IDL file rather than as separate function leading
to slight clean-up in code.

* Source/WebCore/dom/Document+HTML.idl:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::embeds):
(WebCore::Document::plugins): Deleted.
* Source/WebCore/dom/Document.h:
* Source/WebKitLegacy/mac/DOM/DOMHTMLDocument.mm:
(-[DOMHTMLDocument plugins]):
* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDocumentGtk.cpp:
(webkit_dom_document_get_plugins):

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



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

Reply via email to