OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
7 * All rights reserved. | 7 * All rights reserved. |
8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 2614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2625 MarkingBehavior markParents, | 2625 MarkingBehavior markParents, |
2626 SubtreeLayoutScope* layouter) { | 2626 SubtreeLayoutScope* layouter) { |
2627 setNeedsLayout(reason, markParents, layouter); | 2627 setNeedsLayout(reason, markParents, layouter); |
2628 setShouldDoFullPaintInvalidation(); | 2628 setShouldDoFullPaintInvalidation(); |
2629 } | 2629 } |
2630 | 2630 |
2631 inline void LayoutObject::clearNeedsLayout() { | 2631 inline void LayoutObject::clearNeedsLayout() { |
2632 // Set flags for later stages/cycles. | 2632 // Set flags for later stages/cycles. |
2633 setEverHadLayout(); | 2633 setEverHadLayout(); |
2634 setMayNeedPaintInvalidation(); | 2634 setMayNeedPaintInvalidation(); |
| 2635 setNeedsPaintPropertyUpdate(); |
2635 | 2636 |
2636 // Clear needsLayout flags. | 2637 // Clear needsLayout flags. |
2637 setSelfNeedsLayout(false); | 2638 setSelfNeedsLayout(false); |
2638 setPosChildNeedsLayout(false); | 2639 setPosChildNeedsLayout(false); |
2639 setNeedsSimplifiedNormalFlowLayout(false); | 2640 setNeedsSimplifiedNormalFlowLayout(false); |
2640 setNormalChildNeedsLayout(false); | 2641 setNormalChildNeedsLayout(false); |
2641 setNeedsPositionedMovementLayout(false); | 2642 setNeedsPositionedMovementLayout(false); |
2642 setAncestorLineBoxDirty(false); | 2643 setAncestorLineBoxDirty(false); |
2643 | 2644 |
2644 #if DCHECK_IS_ON() | 2645 #if DCHECK_IS_ON() |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2770 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2771 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2771 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2772 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2772 // We don't make object2 an optional parameter so that showLayoutTree | 2773 // We don't make object2 an optional parameter so that showLayoutTree |
2773 // can be called from gdb easily. | 2774 // can be called from gdb easily. |
2774 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2775 const blink::LayoutObject* object2); | 2776 const blink::LayoutObject* object2); |
2776 | 2777 |
2777 #endif | 2778 #endif |
2778 | 2779 |
2779 #endif // LayoutObject_h | 2780 #endif // LayoutObject_h |
OLD | NEW |