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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 PaintLayerRareData::~PaintLayerRareData() {} | 132 PaintLayerRareData::~PaintLayerRareData() {} |
133 | 133 |
134 PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject) | 134 PaintLayer::PaintLayer(LayoutBoxModelObject* layoutObject) |
135 : m_hasSelfPaintingLayerDescendant(false), | 135 : m_hasSelfPaintingLayerDescendant(false), |
136 m_hasSelfPaintingLayerDescendantDirty(false), | 136 m_hasSelfPaintingLayerDescendantDirty(false), |
137 m_isRootLayer(layoutObject->isLayoutView()), | 137 m_isRootLayer(layoutObject->isLayoutView()), |
138 m_isVisibleContentDirty(true), | 138 m_isVisibleContentDirty(true), |
139 m_hasVisibleContent(false), | 139 m_hasVisibleContent(false), |
140 m_isVisibleDescendantDirty(false), | 140 m_isVisibleDescendantDirty(false), |
141 m_hasVisibleDescendant(false) | 141 m_hasVisibleDescendant(false), |
142 #if ENABLE(ASSERT) | 142 #if ENABLE(ASSERT) |
143 , | 143 m_needsPositionUpdate(true), |
144 m_needsPositionUpdate(true) | |
145 #endif | 144 #endif |
146 , | |
147 m_is3DTransformedDescendantDirty(true), | 145 m_is3DTransformedDescendantDirty(true), |
148 m_has3DTransformedDescendant(false), | 146 m_has3DTransformedDescendant(false), |
149 m_containsDirtyOverlayScrollbars(false), | 147 m_containsDirtyOverlayScrollbars(false), |
150 m_needsAncestorDependentCompositingInputsUpdate(true), | 148 m_needsAncestorDependentCompositingInputsUpdate(true), |
151 m_needsDescendantDependentCompositingInputsUpdate(true), | 149 m_needsDescendantDependentCompositingInputsUpdate(true), |
152 m_childNeedsCompositingInputsUpdate(true), | 150 m_childNeedsCompositingInputsUpdate(true), |
153 m_hasCompositingDescendant(false), | 151 m_hasCompositingDescendant(false), |
154 m_isAllScrollingContentComposited(false), | 152 m_isAllScrollingContentComposited(false), |
155 m_shouldIsolateCompositedDescendants(false), | 153 m_shouldIsolateCompositedDescendants(false), |
156 m_lostGroupedMapping(false), | 154 m_lostGroupedMapping(false), |
(...skipping 3050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3207 } | 3205 } |
3208 | 3206 |
3209 void showLayerTree(const blink::LayoutObject* layoutObject) { | 3207 void showLayerTree(const blink::LayoutObject* layoutObject) { |
3210 if (!layoutObject) { | 3208 if (!layoutObject) { |
3211 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 3209 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
3212 return; | 3210 return; |
3213 } | 3211 } |
3214 showLayerTree(layoutObject->enclosingLayer()); | 3212 showLayerTree(layoutObject->enclosingLayer()); |
3215 } | 3213 } |
3216 #endif | 3214 #endif |
OLD | NEW |