Ignore:
Timestamp:
Feb 20, 2022, 6:17:30 AM (3 years ago)
Author:
Alan Bujtas
Message:

RenderBox::flipForWritingModeForChild should take const RenderBox& as the child renderer
https://bugs.webkit.org/show_bug.cgi?id=236895

Reviewed by Antti Koivisto.

  • rendering/LegacyInlineElementBox.cpp:

(WebCore::LegacyInlineElementBox::paint):
(WebCore::LegacyInlineElementBox::nodeAtPoint):

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::paintChild):
(WebCore::RenderBlock::hitTestContents):
(WebCore::RenderBlock::paintExcludedChildrenInBorder):
(WebCore::RenderBlock::hitTestExcludedChildrenInBorder):

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::paintColumnRules):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::flipForWritingModeForChild const):
(WebCore::RenderBox::topLeftLocation const):

  • rendering/RenderBox.h:
  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::hitTestChildren):

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::paintObject):
(WebCore::RenderTable::nodeAtPoint):

  • rendering/RenderTableRow.cpp:

(WebCore::RenderTableRow::nodeAtPoint):

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::paintCell):
(WebCore::RenderTableSection::paintObject):
(WebCore::RenderTableSection::nodeAtPoint):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderTableRow.cpp

    r282266 r290225  
    196196        // then we can remove this check.
    197197        if (!cell->hasSelfPaintingLayer()) {
    198             LayoutPoint cellPoint = flipForWritingModeForChild(cell, accumulatedOffset);
     198            LayoutPoint cellPoint = flipForWritingModeForChild(*cell, accumulatedOffset);
    199199            if (cell->nodeAtPoint(request, result, locationInContainer, cellPoint, action)) {
    200200                updateHitTestResult(result, locationInContainer.point() - toLayoutSize(cellPoint));
Note: See TracChangeset for help on using the changeset viewer.