| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 LayoutRect fragmentRect(layerBoundingBox); | 212 LayoutRect fragmentRect(layerBoundingBox); |
| 213 fragmentRect.intersect(fragment.paginationClip); | 213 fragmentRect.intersect(fragment.paginationClip); |
| 214 fragmentRect.moveBy(fragment.paginationOffset); | 214 fragmentRect.moveBy(fragment.paginationOffset); |
| 215 result.unite(fragmentRect); | 215 result.unite(fragmentRect); |
| 216 } | 216 } |
| 217 } | 217 } |
| 218 | 218 |
| 219 return result; | 219 return result; |
| 220 } | 220 } |
| 221 | 221 |
| 222 void RenderFlowThread::RegionSearchAdapter::collectIfNeeded(const MultiColumnSet
Interval& 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 |