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; | |
117 }; | 116 }; |
118 | 117 |
119 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); | 118 static_assert(sizeof(PaintLayer) == sizeof(SameSizeAsPaintLayer), "PaintLayer sh
ould stay small"); |
120 | 119 |
121 } // namespace | 120 } // namespace |
122 | 121 |
123 using namespace HTMLNames; | 122 using namespace HTMLNames; |
124 | 123 |
125 PaintLayerRareData::PaintLayerRareData() | 124 PaintLayerRareData::PaintLayerRareData() |
126 : enclosingPaginationLayer(nullptr) | 125 : enclosingPaginationLayer(nullptr) |
(...skipping 2784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2911 | 2910 |
2912 void showLayerTree(const blink::LayoutObject* layoutObject) | 2911 void showLayerTree(const blink::LayoutObject* layoutObject) |
2913 { | 2912 { |
2914 if (!layoutObject) { | 2913 if (!layoutObject) { |
2915 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2914 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
2916 return; | 2915 return; |
2917 } | 2916 } |
2918 showLayerTree(layoutObject->enclosingLayer()); | 2917 showLayerTree(layoutObject->enclosingLayer()); |
2919 } | 2918 } |
2920 #endif | 2919 #endif |
OLD | NEW |