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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 PositionedLayoutBehavior behavior = kDefaultLayout; | 477 PositionedLayoutBehavior behavior = kDefaultLayout; |
478 if (old_left != LogicalLeft()) | 478 if (old_left != LogicalLeft()) |
479 behavior = kForcedLayoutAfterContainingBlockMoved; | 479 behavior = kForcedLayoutAfterContainingBlockMoved; |
480 LayoutPositionedObjects(relayout_children, behavior); | 480 LayoutPositionedObjects(relayout_children, behavior); |
481 | 481 |
482 // Add overflow from children. | 482 // Add overflow from children. |
483 ComputeOverflow(unconstrained_client_after_edge); | 483 ComputeOverflow(unconstrained_client_after_edge); |
484 | 484 |
485 descendants_with_floats_marked_for_layout_ = false; | 485 descendants_with_floats_marked_for_layout_ = false; |
486 | 486 |
487 UpdateLayerTransformAfterLayout(); | |
488 | |
489 UpdateAfterLayout(); | 487 UpdateAfterLayout(); |
490 | 488 |
491 if (isHTMLDialogElement(GetNode()) && IsOutOfFlowPositioned()) | 489 if (isHTMLDialogElement(GetNode()) && IsOutOfFlowPositioned()) |
492 PositionDialog(); | 490 PositionDialog(); |
493 | 491 |
494 ClearNeedsLayout(); | 492 ClearNeedsLayout(); |
495 UpdateIsSelfCollapsing(); | 493 UpdateIsSelfCollapsing(); |
496 } | 494 } |
497 | 495 |
498 DISABLE_CFI_PERF | 496 DISABLE_CFI_PERF |
(...skipping 4156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4655 return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state); | 4653 return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state); |
4656 } | 4654 } |
4657 | 4655 |
4658 void LayoutBlockFlow::InvalidateDisplayItemClients( | 4656 void LayoutBlockFlow::InvalidateDisplayItemClients( |
4659 PaintInvalidationReason invalidation_reason) const { | 4657 PaintInvalidationReason invalidation_reason) const { |
4660 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( | 4658 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( |
4661 invalidation_reason); | 4659 invalidation_reason); |
4662 } | 4660 } |
4663 | 4661 |
4664 } // namespace blink | 4662 } // namespace blink |
OLD | NEW |