| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 RenderObject::invalidateTreeAfterLayout(newPaintInvalidationContainer); | 1575 RenderObject::invalidateTreeAfterLayout(newPaintInvalidationContainer); |
| 1576 // For the next invalidatePaintIfNeeded. | 1576 // For the next invalidatePaintIfNeeded. |
| 1577 savePreviousBorderBoxSizeIfNeeded(); | 1577 savePreviousBorderBoxSizeIfNeeded(); |
| 1578 return; | 1578 return; |
| 1579 } | 1579 } |
| 1580 | 1580 |
| 1581 if ((onlyNeededPositionedMovementLayout() && compositingState() != PaintsInt
oOwnBacking) | 1581 if ((onlyNeededPositionedMovementLayout() && compositingState() != PaintsInt
oOwnBacking) |
| 1582 || (shouldDoFullPaintInvalidationIfSelfPaintingLayer() | 1582 || (shouldDoFullPaintInvalidationIfSelfPaintingLayer() |
| 1583 && hasLayer() | 1583 && hasLayer() |
| 1584 && layer()->isSelfPaintingLayer())) { | 1584 && layer()->isSelfPaintingLayer())) { |
| 1585 setShouldDoFullPaintInvalidationAfterLayout(true, MarkOnlyThis); | 1585 setShouldDoFullPaintInvalidationAfterLayout(true); |
| 1586 } | 1586 } |
| 1587 | 1587 |
| 1588 if (!invalidatePaintIfNeeded(&newPaintInvalidationContainer, oldPaintInvalid
ationRect, oldPositionFromPaintInvalidationContainer)) | 1588 if (!invalidatePaintIfNeeded(&newPaintInvalidationContainer, oldPaintInvalid
ationRect, oldPositionFromPaintInvalidationContainer)) |
| 1589 invalidatePaintForOverflowIfNeeded(); | 1589 invalidatePaintForOverflowIfNeeded(); |
| 1590 | 1590 |
| 1591 // This is for the next invalidatePaintIfNeeded so must be after invalidateP
aintIfNeeded. | 1591 // This is for the next invalidatePaintIfNeeded so must be after invalidateP
aintIfNeeded. |
| 1592 savePreviousBorderBoxSizeIfNeeded(); | 1592 savePreviousBorderBoxSizeIfNeeded(); |
| 1593 | 1593 |
| 1594 // Issue paint invalidations for any scrollbars if there is a scrollable are
a for this renderer. | 1594 // Issue paint invalidations for any scrollbars if there is a scrollable are
a for this renderer. |
| 1595 if (enclosingLayer()) { | 1595 if (enclosingLayer()) { |
| (...skipping 3042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4638 | 4638 |
| 4639 // We need the old border box size only when the box has background or b
ox decorations. | 4639 // We need the old border box size only when the box has background or b
ox decorations. |
| 4640 if (!style()->hasBackground() && !style()->hasBoxDecorations()) | 4640 if (!style()->hasBackground() && !style()->hasBoxDecorations()) |
| 4641 return; | 4641 return; |
| 4642 } | 4642 } |
| 4643 | 4643 |
| 4644 ensureRareData().m_previousBorderBoxSize = size(); | 4644 ensureRareData().m_previousBorderBoxSize = size(); |
| 4645 } | 4645 } |
| 4646 | 4646 |
| 4647 } // namespace WebCore | 4647 } // namespace WebCore |
| OLD | NEW |