| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 previousRegionLogicalHeight = regionLogicalHeight; | 87 previousRegionLogicalHeight = regionLogicalHeight; |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 } | 90 } |
| 91 | 91 |
| 92 updateLogicalWidth(); // Called to get the maximum logical width for the col
umnSet. | 92 updateLogicalWidth(); // Called to get the maximum logical width for the col
umnSet. |
| 93 updateRegionsFlowThreadPortionRect(); | 93 updateRegionsFlowThreadPortionRect(); |
| 94 } | 94 } |
| 95 | 95 |
| 96 void RenderFlowThread::mapRectToPaintInvalidationBacking(const RenderLayerModelO
bject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationStat
e* paintInvalidationState) const | 96 void RenderFlowThread::mapRectToPaintInvalidationBacking(const LayoutLayerModelO
bject* paintInvalidationContainer, LayoutRect& rect, const PaintInvalidationStat
e* paintInvalidationState) const |
| 97 { | 97 { |
| 98 ASSERT(paintInvalidationContainer != this); // A flow thread should never be
an invalidation container. | 98 ASSERT(paintInvalidationContainer != this); // A flow thread should never be
an invalidation container. |
| 99 rect = fragmentsBoundingBox(rect); | 99 rect = fragmentsBoundingBox(rect); |
| 100 RenderBlockFlow::mapRectToPaintInvalidationBacking(paintInvalidationContaine
r, rect, paintInvalidationState); | 100 RenderBlockFlow::mapRectToPaintInvalidationBacking(paintInvalidationContaine
r, rect, paintInvalidationState); |
| 101 } | 101 } |
| 102 | 102 |
| 103 void RenderFlowThread::layout() | 103 void RenderFlowThread::layout() |
| 104 { | 104 { |
| 105 m_pageLogicalSizeChanged = m_regionsInvalidated && everHadLayout(); | 105 m_pageLogicalSizeChanged = m_regionsInvalidated && everHadLayout(); |
| 106 RenderBlockFlow::layout(); | 106 RenderBlockFlow::layout(); |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 | 221 |
| 222 void RenderFlowThread::MultiColumnSetSearchAdapter::collectIfNeeded(const MultiC
olumnSetInterval& interval) | 222 void RenderFlowThread::MultiColumnSetSearchAdapter::collectIfNeeded(const MultiC
olumnSetInterval& interval) |
| 223 { | 223 { |
| 224 if (m_result) | 224 if (m_result) |
| 225 return; | 225 return; |
| 226 if (interval.low() <= m_offset && interval.high() > m_offset) | 226 if (interval.low() <= m_offset && interval.high() > m_offset) |
| 227 m_result = interval.data(); | 227 m_result = interval.data(); |
| 228 } | 228 } |
| 229 | 229 |
| 230 } // namespace blink | 230 } // namespace blink |
| OLD | NEW |