⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 106869 in webkit


Ignore:
Timestamp:
Feb 6, 2012, 4:14:40 PM (15 years ago)
Author:
leviw@chromium.org
Message:

Reverting RenderFrameSet's canResizeRow/Column to operate on IntPoints.

Location:
branches/subpixellayout/Source/WebCore/rendering
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/subpixellayout/Source/WebCore/rendering/RenderFrameSet.cpp

    r106868 r106869  
    747747}
    748748
    749 bool RenderFrameSet::canResizeRow(const LayoutPoint& p) const
     749bool RenderFrameSet::canResizeRow(const IntPoint& p) const
    750750{
    751751    int r = hitTestSplit(m_rows, p.y());
     
    753753}
    754754
    755 bool RenderFrameSet::canResizeColumn(const LayoutPoint& p) const
     755bool RenderFrameSet::canResizeColumn(const IntPoint& p) const
    756756{
    757757    int c = hitTestSplit(m_cols, p.x());
     
    805805CursorDirective RenderFrameSet::getCursor(const LayoutPoint& point, Cursor& cursor) const
    806806{
    807     if (canResizeRow(point)) {
     807    IntPoint roundedPoint = roundedIntPoint(point);
     808    if (canResizeRow(roundedPoint)) {
    808809        cursor = rowResizeCursor();
    809810        return SetCursor;
    810811    }
    811     if (canResizeColumn(point)) {
     812    if (canResizeColumn(roundedPoint)) {
    812813        cursor = columnResizeCursor();
    813814        return SetCursor;
  • branches/subpixellayout/Source/WebCore/rendering/RenderFrameSet.h

    r98165 r106869  
    6969    bool isResizingColumn() const;
    7070
    71     bool canResizeRow(const LayoutPoint&) const;
    72     bool canResizeColumn(const LayoutPoint&) const;
     71    bool canResizeRow(const IntPoint&) const;
     72    bool canResizeColumn(const IntPoint&) const;
    7373
    7474    void notifyFrameEdgeInfoChanged();
Note: See TracChangeset for help on using the changeset viewer.