| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 inline void PaintLayerStackingNode::clearZOrderLists() | 191 inline void PaintLayerStackingNode::clearZOrderLists() |
| 192 { | 192 { |
| 193 ASSERT(!isStackingContext()); | 193 ASSERT(!isStackingContext()); |
| 194 | 194 |
| 195 #if ENABLE(ASSERT) | 195 #if ENABLE(ASSERT) |
| 196 updateStackingParentForZOrderLists(0); | 196 updateStackingParentForZOrderLists(0); |
| 197 #endif | 197 #endif |
| 198 | 198 |
| 199 m_posZOrderList.clear(); | 199 m_posZOrderList.reset(); |
| 200 m_negZOrderList.clear(); | 200 m_negZOrderList.reset(); |
| 201 } | 201 } |
| 202 | 202 |
| 203 inline void PaintLayerStackingNode::updateZOrderLists() | 203 inline void PaintLayerStackingNode::updateZOrderLists() |
| 204 { | 204 { |
| 205 if (!m_zOrderListsDirty) | 205 if (!m_zOrderListsDirty) |
| 206 return; | 206 return; |
| 207 | 207 |
| 208 if (!isStackingContext()) { | 208 if (!isStackingContext()) { |
| 209 clearZOrderLists(); | 209 clearZOrderLists(); |
| 210 m_zOrderListsDirty = false; | 210 m_zOrderListsDirty = false; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 231 | 231 |
| 232 private: | 232 private: |
| 233 PaintLayerStackingNode* m_stackingNode; | 233 PaintLayerStackingNode* m_stackingNode; |
| 234 bool m_previousMutationAllowedState; | 234 bool m_previousMutationAllowedState; |
| 235 }; | 235 }; |
| 236 #endif | 236 #endif |
| 237 | 237 |
| 238 } // namespace blink | 238 } // namespace blink |
| 239 | 239 |
| 240 #endif // PaintLayerStackingNode_h | 240 #endif // PaintLayerStackingNode_h |
| OLD | NEW |