[webkit-changes] [WebKit/WebKit] b0ccbb: Adopt dynamicDowncast<> in a number of page classes

Anne van Kesteren noreply at github.com
Wed Jan 17 17:24:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0ccbb24dcd4e4d30ac3c5b617daafc578d9cac8
      https://github.com/WebKit/WebKit/commit/b0ccbb24dcd4e4d30ac3c5b617daafc578d9cac8
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/PageColorSampler.cpp
    M Source/WebCore/page/PageConsoleClient.cpp
    M Source/WebCore/page/PageSerializer.cpp
    M Source/WebCore/page/Quirks.cpp

  Log Message:
  -----------
  Adopt dynamicDowncast<> in a number of page classes
https://bugs.webkit.org/show_bug.cgi?id=267512

Reviewed by Darin Adler.

* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::searchForLabelsBeforeElement):
(WebCore::LocalFrame::setPageAndTextZoomFactors):
(WebCore::LocalFrame::contentFrameFromWindowOrFrameElement):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::init):
(WebCore::LocalFrameView::applyOverflowToViewport):
(WebCore::LocalFrameView::applyPaginationToViewport):
(WebCore::LocalFrameView::addEmbeddedObjectToUpdate):
(WebCore::LocalFrameView::canShowNonOverlayScrollbars const):
(WebCore::LocalFrameView::maintainScrollPositionAtAnchor):
(WebCore::countRenderedCharactersInRenderObjectWithThreshold):
(WebCore::LocalFrameView::updateEmbeddedObject):
(WebCore::LocalFrameView::hasCustomScrollbars const):
(WebCore::LocalFrameView::addChild):
(WebCore::LocalFrameView::removeChild):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::editableElementsInRect const):
* Source/WebCore/page/PageColorSampler.cpp:
(WebCore::isValidSampleLocation):
* Source/WebCore/page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::screenshot):
* Source/WebCore/page/PageSerializer.cpp:
(WebCore::PageSerializer::SerializerMarkupAccumulator::appendCustomAttributes):
(WebCore::PageSerializer::serializeFrame):
(WebCore::PageSerializer::serializeCSSStyleSheet):
(WebCore::PageSerializer::retrieveResourcesForProperties):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
(WebCore::Quirks::shouldDispatchedSimulatedMouseEventsAssumeDefaultPrevented const):
(WebCore::Quirks::simulatedMouseEventTypeForTarget const):
(WebCore::Quirks::shouldMakeTouchEventNonCancelableForTarget const):
(WebCore::Quirks::shouldPreventDispatchOfTouchEvent const):
(WebCore::Quirks::shouldBypassBackForwardCache const):
(WebCore::Quirks::shouldMakeEventListenerPassive):
(WebCore::Quirks::triggerOptionalStorageAccessQuirk const):

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




More information about the webkit-changes mailing list