| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 2759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2770 container->m_needsRepaint = true; | 2770 container->m_needsRepaint = true; |
| 2771 layer = container; | 2771 layer = container; |
| 2772 } | 2772 } |
| 2773 } | 2773 } |
| 2774 | 2774 |
| 2775 void PaintLayer::clearNeedsRepaintRecursively() | 2775 void PaintLayer::clearNeedsRepaintRecursively() |
| 2776 { | 2776 { |
| 2777 for (PaintLayer* child = firstChild(); child; child = child->nextSibling()) | 2777 for (PaintLayer* child = firstChild(); child; child = child->nextSibling()) |
| 2778 child->clearNeedsRepaintRecursively(); | 2778 child->clearNeedsRepaintRecursively(); |
| 2779 m_needsRepaint = false; | 2779 m_needsRepaint = false; |
| 2780 fprintf(stderr, "---clearNeedsRepaint: %p %s\n", this, debugName().ascii().d
ata()); |
| 2780 } | 2781 } |
| 2781 | 2782 |
| 2782 PaintTiming* PaintLayer::paintTiming() | 2783 PaintTiming* PaintLayer::paintTiming() |
| 2783 { | 2784 { |
| 2784 if (Node* node = layoutObject()->node()) | 2785 if (Node* node = layoutObject()->node()) |
| 2785 return &PaintTiming::from(node->document()); | 2786 return &PaintTiming::from(node->document()); |
| 2786 return nullptr; | 2787 return nullptr; |
| 2787 } | 2788 } |
| 2788 | 2789 |
| 2789 DisableCompositingQueryAsserts::DisableCompositingQueryAsserts() | 2790 DisableCompositingQueryAsserts::DisableCompositingQueryAsserts() |
| (...skipping 18 matching lines...) Expand all Loading... |
| 2808 | 2809 |
| 2809 void showLayerTree(const blink::LayoutObject* layoutObject) | 2810 void showLayerTree(const blink::LayoutObject* layoutObject) |
| 2810 { | 2811 { |
| 2811 if (!layoutObject) { | 2812 if (!layoutObject) { |
| 2812 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2813 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
| 2813 return; | 2814 return; |
| 2814 } | 2815 } |
| 2815 showLayerTree(layoutObject->enclosingLayer()); | 2816 showLayerTree(layoutObject->enclosingLayer()); |
| 2816 } | 2817 } |
| 2817 #endif | 2818 #endif |
| OLD | NEW |