| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 Persistent<PaintLayerScrollableArea> scrollableArea; | 106 Persistent<PaintLayerScrollableArea> scrollableArea; |
| 107 struct { | 107 struct { |
| 108 IntRect rect; | 108 IntRect rect; |
| 109 void* pointers[2]; | 109 void* pointers[2]; |
| 110 } ancestorCompositingInputs; | 110 } ancestorCompositingInputs; |
| 111 struct { | 111 struct { |
| 112 IntSize size; | 112 IntSize size; |
| 113 void* pointer; | 113 void* pointer; |
| 114 LayoutRect rect; | 114 LayoutRect rect; |
| 115 } previousPaintStatus; | 115 } previousPaintStatus; |
| 116 DisplayItemCacheGeneration cacheGeneration; |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); | 119 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); |
| 119 | 120 |
| 120 } // namespace | 121 } // namespace |
| 121 | 122 |
| 122 using namespace HTMLNames; | 123 using namespace HTMLNames; |
| 123 | 124 |
| 124 PaintLayerRareData::PaintLayerRareData() | 125 PaintLayerRareData::PaintLayerRareData() |
| 125 : enclosingPaginationLayer(nullptr) | 126 : enclosingPaginationLayer(nullptr) |
| (...skipping 2786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2912 | 2913 |
| 2913 void showLayerTree(const blink::LayoutObject* layoutObject) | 2914 void showLayerTree(const blink::LayoutObject* layoutObject) |
| 2914 { | 2915 { |
| 2915 if (!layoutObject) { | 2916 if (!layoutObject) { |
| 2916 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2917 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
| 2917 return; | 2918 return; |
| 2918 } | 2919 } |
| 2919 showLayerTree(layoutObject->enclosingLayer()); | 2920 showLayerTree(layoutObject->enclosingLayer()); |
| 2920 } | 2921 } |
| 2921 #endif | 2922 #endif |
| OLD | NEW |