| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 m_multiColumnSetList.remove(columnSet); | 51 m_multiColumnSetList.remove(columnSet); |
| 52 } | 52 } |
| 53 | 53 |
| 54 void LayoutFlowThread::invalidateRegions() | 54 void LayoutFlowThread::invalidateRegions() |
| 55 { | 55 { |
| 56 if (m_regionsInvalidated) { | 56 if (m_regionsInvalidated) { |
| 57 ASSERT(selfNeedsLayout()); | 57 ASSERT(selfNeedsLayout()); |
| 58 return; | 58 return; |
| 59 } | 59 } |
| 60 | 60 |
| 61 setNeedsLayoutAndFullPaintInvalidation(); | 61 setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::ColumnsChan
ged); |
| 62 | 62 |
| 63 m_regionsInvalidated = true; | 63 m_regionsInvalidated = true; |
| 64 } | 64 } |
| 65 | 65 |
| 66 void LayoutFlowThread::validateRegions() | 66 void LayoutFlowThread::validateRegions() |
| 67 { | 67 { |
| 68 if (m_regionsInvalidated) { | 68 if (m_regionsInvalidated) { |
| 69 m_regionsInvalidated = false; | 69 m_regionsInvalidated = false; |
| 70 m_regionsHaveUniformLogicalHeight = true; | 70 m_regionsHaveUniformLogicalHeight = true; |
| 71 | 71 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 | 213 |
| 214 void LayoutFlowThread::MultiColumnSetSearchAdapter::collectIfNeeded(const MultiC
olumnSetInterval& interval) | 214 void LayoutFlowThread::MultiColumnSetSearchAdapter::collectIfNeeded(const MultiC
olumnSetInterval& interval) |
| 215 { | 215 { |
| 216 if (m_result) | 216 if (m_result) |
| 217 return; | 217 return; |
| 218 if (interval.low() <= m_offset && interval.high() > m_offset) | 218 if (interval.low() <= m_offset && interval.high() > m_offset) |
| 219 m_result = interval.data(); | 219 m_result = interval.data(); |
| 220 } | 220 } |
| 221 | 221 |
| 222 } // namespace blink | 222 } // namespace blink |
| OLD | NEW |