Changeset 163957 in webkit


Ignore:
Timestamp:
Feb 12, 2014 5:31:22 AM (10 years ago)
Author:
stavila@adobe.com
Message:

[CSS Regions] Remove unused method in RenderFlowThread
https://bugs.webkit.org/show_bug.cgi?id=128373

Reviewed by Mihnea Ovidenie.

After the landing of https://bugs.webkit.org/show_bug.cgi?id=118665, the
RenderFlowThread::computeRegionClippingRect method is obsolete.

No new tests needed, this patch only removes an unused method.

  • rendering/RenderFlowThread.cpp:
  • rendering/RenderFlowThread.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r163955 r163957  
     12014-02-12  Radu Stavila  <stavila@adobe.com>
     2
     3        [CSS Regions] Remove unused method in RenderFlowThread
     4        https://bugs.webkit.org/show_bug.cgi?id=128373
     5
     6        Reviewed by Mihnea Ovidenie.
     7
     8        After the landing of https://bugs.webkit.org/show_bug.cgi?id=118665, the
     9        RenderFlowThread::computeRegionClippingRect method is obsolete.
     10
     11        No new tests needed, this patch only removes an unused method.
     12
     13        * rendering/RenderFlowThread.cpp:
     14        * rendering/RenderFlowThread.h:
     15
    1162014-02-12  Mihai Tica  <mitica@adobe.com>
    217
  • trunk/Source/WebCore/rendering/RenderFlowThread.cpp

    r163079 r163957  
    389389            return;
    390390    }
    391 }
    392 
    393 LayoutRect RenderFlowThread::computeRegionClippingRect(const LayoutPoint& offset, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect) const
    394 {
    395     LayoutRect regionClippingRect(offset + (flowThreadPortionOverflowRect.location() - flowThreadPortionRect.location()), flowThreadPortionOverflowRect.size());
    396     if (style().isFlippedBlocksWritingMode())
    397         regionClippingRect.move(flowThreadPortionRect.size() - flowThreadPortionOverflowRect.size());
    398     return regionClippingRect;
    399391}
    400392
  • trunk/Source/WebCore/rendering/RenderFlowThread.h

    r163934 r163957  
    232232    bool shouldRepaint(const LayoutRect&) const;
    233233
    234     LayoutRect computeRegionClippingRect(const LayoutPoint&, const LayoutRect&, const LayoutRect&) const;
    235 
    236234    bool updateAllLayerToRegionMappings();
    237235
Note: See TracChangeset for help on using the changeset viewer.