[webkit-changes] [WebKit/WebKit] 01a47e: Inline a few trivial getters that show on profiles

Chris Dumez noreply at github.com
Wed Mar 29 08:40:28 PDT 2023


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

  Changed paths:
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/editing/VisibleSelection.cpp
    M Source/WebCore/editing/VisibleSelection.h
    M Source/WebCore/page/LocalFrame.h
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/Page.h
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderBox.h

  Log Message:
  -----------
  Inline a few trivial getters that show on profiles
https://bugs.webkit.org/show_bug.cgi?id=254645

Reviewed by Darin Adler.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::view const): Deleted.
* Source/WebCore/dom/Document.h:
* Source/WebCore/editing/VisibleSelection.cpp:
(WebCore::VisibleSelection::uncanonicalizedStart const):
(WebCore::VisibleSelection::uncanonicalizedEnd const):
(WebCore::VisibleSelection::anchor const): Deleted.
(WebCore::VisibleSelection::focus const): Deleted.
* Source/WebCore/editing/VisibleSelection.h:
(WebCore::VisibleSelection::anchor const):
(WebCore::VisibleSelection::focus const):
(WebCore::VisibleSelection::base const):
(WebCore::VisibleSelection::extent const):
(WebCore::VisibleSelection::start const):
(WebCore::VisibleSelection::end const):
* Source/WebCore/page/LocalFrame.h:
(WebCore::Document::view const):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::scrollLatchingController):
(WebCore::Page::scrollLatchingControllerIfExists): Deleted.
* Source/WebCore/page/Page.h:
(WebCore::Page::scrollLatchingControllerIfExists):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::contentBoxRect const): Deleted.
* Source/WebCore/rendering/RenderBox.h:
(WebCore::RenderBox::contentBoxRect const):

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




More information about the webkit-changes mailing list