Changeset 116496 in webkit for trunk/Source/WebCore/rendering/RenderFrameSet.cpp
- Timestamp:
- May 8, 2012, 11:14:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderFrameSet.cpp
r114537 r116496 182 182 m_deltas.fill(0); 183 183 184 // To track edges for resizability and borders, we need to be (size + 1). 184 // To track edges for resizability and borders, we need to be (size + 1). This is because a parent frameset 185 185 // may ask us for information about our left/top/right/bottom edges in order to make its own decisions about 186 // what to do. 186 // what to do. We are capable of tainting that parent frameset's borders, so we have to cache this info. 187 187 m_preventResize.resize(size + 1); 188 188 m_allowBorder.resize(size + 1); … … 343 343 } 344 344 } 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. 350 349 int remainingFixed = remainingLen; 351 350 int changeFixed = 0; … … 685 684 int currentSplitPosition = splitPosition(axis, axis.m_splitBeingResized); 686 685 int delta = (position - currentSplitPosition) - axis.m_splitResizeOffset; 687 if ( delta == 0)686 if (!delta) 688 687 return; 689 688 axis.m_deltas[axis.m_splitBeingResized - 1] += delta;
Note:
See TracChangeset
for help on using the changeset viewer.