[webkit-changes] [WebKit/WebKit] 01c871: De-virtualize AbstractFrame::frameType()

Chris Dumez noreply at github.com
Sun Mar 12 09:52:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 01c8713099e3ddae839c26b750d1e542edac2bdc
      https://github.com/WebKit/WebKit/commit/01c8713099e3ddae839c26b750d1e542edac2bdc
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-12 (Sun, 12 Mar 2023)

  Changed paths:
    M Source/WebCore/page/AbstractFrame.cpp
    M Source/WebCore/page/AbstractFrame.h
    M Source/WebCore/page/Frame.cpp
    M Source/WebCore/page/Frame.h
    M Source/WebCore/page/RemoteFrame.cpp
    M Source/WebCore/page/RemoteFrame.h

  Log Message:
  -----------
  De-virtualize AbstractFrame::frameType()
https://bugs.webkit.org/show_bug.cgi?id=253779

Reviewed by Darin Adler.

De-virtualize AbstractFrame::frameType(). It shows on profiles and it is
getting called more and more as we move towards site isolation.

* Source/WebCore/page/AbstractFrame.cpp:
(WebCore::AbstractFrame::AbstractFrame):
* Source/WebCore/page/AbstractFrame.h:
(WebCore::AbstractFrame::frameType const):
* Source/WebCore/page/Frame.cpp:
(WebCore::Frame::Frame):
* Source/WebCore/page/Frame.h:
* Source/WebCore/page/RemoteFrame.cpp:
(WebCore::RemoteFrame::RemoteFrame):
* Source/WebCore/page/RemoteFrame.h:

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




More information about the webkit-changes mailing list