| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 updateNormalFlowList(); | 268 updateNormalFlowList(); |
| 269 | 269 |
| 270 if (!layer()->reflectionInfo()) | 270 if (!layer()->reflectionInfo()) |
| 271 return; | 271 return; |
| 272 | 272 |
| 273 DeprecatedPaintLayer* reflectionLayer = layer()->reflectionInfo()->reflectio
nLayer(); | 273 DeprecatedPaintLayer* reflectionLayer = layer()->reflectionInfo()->reflectio
nLayer(); |
| 274 reflectionLayer->stackingNode()->updateZOrderLists(); | 274 reflectionLayer->stackingNode()->updateZOrderLists(); |
| 275 reflectionLayer->stackingNode()->updateNormalFlowList(); | 275 reflectionLayer->stackingNode()->updateNormalFlowList(); |
| 276 } | 276 } |
| 277 | 277 |
| 278 void DeprecatedPaintLayerStackingNode::updateStackingNodesAfterStyleChange(const
LayoutStyle* oldStyle) | 278 void DeprecatedPaintLayerStackingNode::updateStackingNodesAfterStyleChange(const
ComputedStyle* oldStyle) |
| 279 { | 279 { |
| 280 bool wasStackingContext = oldStyle ? !oldStyle->hasAutoZIndex() : false; | 280 bool wasStackingContext = oldStyle ? !oldStyle->hasAutoZIndex() : false; |
| 281 int oldZIndex = oldStyle ? oldStyle->zIndex() : 0; | 281 int oldZIndex = oldStyle ? oldStyle->zIndex() : 0; |
| 282 | 282 |
| 283 bool isStackingContext = this->isStackingContext(); | 283 bool isStackingContext = this->isStackingContext(); |
| 284 if (isStackingContext == wasStackingContext && oldZIndex == zIndex()) | 284 if (isStackingContext == wasStackingContext && oldZIndex == zIndex()) |
| 285 return; | 285 return; |
| 286 | 286 |
| 287 dirtyStackingContextZOrderLists(); | 287 dirtyStackingContextZOrderLists(); |
| 288 | 288 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 } | 320 } |
| 321 return 0; | 321 return 0; |
| 322 } | 322 } |
| 323 | 323 |
| 324 LayoutBoxModelObject* DeprecatedPaintLayerStackingNode::layoutObject() const | 324 LayoutBoxModelObject* DeprecatedPaintLayerStackingNode::layoutObject() const |
| 325 { | 325 { |
| 326 return m_layer->layoutObject(); | 326 return m_layer->layoutObject(); |
| 327 } | 327 } |
| 328 | 328 |
| 329 } // namespace blink | 329 } // namespace blink |
| OLD | NEW |