| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 CHECK(!firstChild || firstChild->isBox()); | 1445 CHECK(!firstChild || firstChild->isBox()); |
| 1446 LayoutBox* next = toLayoutBox(firstChild); | 1446 LayoutBox* next = toLayoutBox(firstChild); |
| 1447 LayoutBox* lastNormalFlowChild = nullptr; | 1447 LayoutBox* lastNormalFlowChild = nullptr; |
| 1448 | 1448 |
| 1449 while (next) { | 1449 while (next) { |
| 1450 LayoutBox* child = next; | 1450 LayoutBox* child = next; |
| 1451 LayoutObject* nextSibling = child->nextSibling(); | 1451 LayoutObject* nextSibling = child->nextSibling(); |
| 1452 CHECK(!nextSibling || nextSibling->isBox()); | 1452 CHECK(!nextSibling || nextSibling->isBox()); |
| 1453 next = toLayoutBox(nextSibling); | 1453 next = toLayoutBox(nextSibling); |
| 1454 | 1454 |
| 1455 child->setMayNeedPaintInvalidation(); | 1455 // child->setMayNeedPaintInvalidation(); |
| 1456 | 1456 |
| 1457 if (childToExclude == child) | 1457 if (childToExclude == child) |
| 1458 continue; // Skip this child, since it will be positioned by the | 1458 continue; // Skip this child, since it will be positioned by the |
| 1459 // specialized subclass (fieldsets and ruby runs). | 1459 // specialized subclass (fieldsets and ruby runs). |
| 1460 | 1460 |
| 1461 updateBlockChildDirtyBitsBeforeLayout(relayoutChildren, *child); | 1461 updateBlockChildDirtyBitsBeforeLayout(relayoutChildren, *child); |
| 1462 | 1462 |
| 1463 if (child->isOutOfFlowPositioned()) { | 1463 if (child->isOutOfFlowPositioned()) { |
| 1464 child->containingBlock()->insertPositionedObject(child); | 1464 child->containingBlock()->insertPositionedObject(child); |
| 1465 adjustPositionedBlock(*child, layoutInfo); | 1465 adjustPositionedBlock(*child, layoutInfo); |
| (...skipping 3139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4605 return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState); | 4605 return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState); |
| 4606 } | 4606 } |
| 4607 | 4607 |
| 4608 void LayoutBlockFlow::invalidateDisplayItemClients( | 4608 void LayoutBlockFlow::invalidateDisplayItemClients( |
| 4609 PaintInvalidationReason invalidationReason) const { | 4609 PaintInvalidationReason invalidationReason) const { |
| 4610 BlockFlowPaintInvalidator(*this).invalidateDisplayItemClients( | 4610 BlockFlowPaintInvalidator(*this).invalidateDisplayItemClients( |
| 4611 invalidationReason); | 4611 invalidationReason); |
| 4612 } | 4612 } |
| 4613 | 4613 |
| 4614 } // namespace blink | 4614 } // namespace blink |
| OLD | NEW |