Ignore:
Timestamp:
May 8, 2012, 11:14:10 PM (13 years ago)
Author:
[email protected]
Message:

Coding style issues present in RenderFrameSet.cpp
https://bugs.webkit.org/show_bug.cgi?id=85955

Reviewed by Eric Seidel.

Just fixed those coding style issues.

  • rendering/RenderFrameSet.cpp:

(WebCore::RenderFrameSet::GridAxis::resize):
(WebCore::RenderFrameSet::layOutAxis):
(WebCore::RenderFrameSet::continueResizing):

File:
1 edited

Legend:

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

    r114537 r116496  
    182182    m_deltas.fill(0);
    183183   
    184     // To track edges for resizability and borders, we need to be (size + 1).  This is because a parent frameset
     184    // To track edges for resizability and borders, we need to be (size + 1). This is because a parent frameset
    185185    // may ask us for information about our left/top/right/bottom edges in order to make its own decisions about
    186     // what to do.  We are capable of tainting that parent frameset's borders, so we have to cache this info.
     186    // what to do. We are capable of tainting that parent frameset's borders, so we have to cache this info.
    187187    m_preventResize.resize(size + 1);
    188188    m_allowBorder.resize(size + 1);
     
    343343            }
    344344        }
    345     }
    346    
    347     // If we don't have any percentage columns/rows we only have fixed columns. Spread
    348     // the remainder equally over all fixed columns/rows.
    349     else if (remainingLen && countFixed) {
     345    } else if (remainingLen && countFixed) {
     346        // If we don't have any percentage columns/rows we only have
     347        // fixed columns. Spread the remainder equally over all fixed
     348        // columns/rows.
    350349        int remainingFixed = remainingLen;
    351350        int changeFixed = 0;
     
    685684    int currentSplitPosition = splitPosition(axis, axis.m_splitBeingResized);
    686685    int delta = (position - currentSplitPosition) - axis.m_splitResizeOffset;
    687     if (delta == 0)
     686    if (!delta)
    688687        return;
    689688    axis.m_deltas[axis.m_splitBeingResized - 1] += delta;
Note: See TracChangeset for help on using the changeset viewer.