| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 Persistent<PaintLayerScrollableArea> scrollableArea; | 103 Persistent<PaintLayerScrollableArea> scrollableArea; |
| 104 struct { | 104 struct { |
| 105 IntRect rect; | 105 IntRect rect; |
| 106 void* pointers[2]; | 106 void* pointers[2]; |
| 107 } ancestorCompositingInputs; | 107 } ancestorCompositingInputs; |
| 108 struct { | 108 struct { |
| 109 IntSize size; | 109 IntSize size; |
| 110 void* pointer; | 110 void* pointer; |
| 111 LayoutRect rect; | 111 LayoutRect rect; |
| 112 } previousPaintStatus; | 112 } previousPaintStatus; |
| 113 DisplayItemCacheGeneration cacheGeneration; | |
| 114 }; | 113 }; |
| 115 | 114 |
| 116 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); | 115 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); |
| 117 | 116 |
| 118 } // namespace | 117 } // namespace |
| 119 | 118 |
| 120 using namespace HTMLNames; | 119 using namespace HTMLNames; |
| 121 | 120 |
| 122 PaintLayerRareData::PaintLayerRareData() | 121 PaintLayerRareData::PaintLayerRareData() |
| 123 : enclosingPaginationLayer(nullptr) | 122 : enclosingPaginationLayer(nullptr) |
| (...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2946 | 2945 |
| 2947 void showLayerTree(const blink::LayoutObject* layoutObject) | 2946 void showLayerTree(const blink::LayoutObject* layoutObject) |
| 2948 { | 2947 { |
| 2949 if (!layoutObject) { | 2948 if (!layoutObject) { |
| 2950 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2949 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
| 2951 return; | 2950 return; |
| 2952 } | 2951 } |
| 2953 showLayerTree(layoutObject->enclosingLayer()); | 2952 showLayerTree(layoutObject->enclosingLayer()); |
| 2954 } | 2953 } |
| 2955 #endif | 2954 #endif |
| OLD | NEW |