| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2  * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 
| 3  * reserved. | 3  * 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 26 matching lines...) Expand all  Loading... | 
| 37  * licenses (the MPL or the GPL) and not to allow others to use your | 37  * licenses (the MPL or the GPL) and not to allow others to use your | 
| 38  * version of this file under the LGPL, indicate your decision by | 38  * version of this file under the LGPL, indicate your decision by | 
| 39  * deletingthe provisions above and replace them with the notice and | 39  * deletingthe provisions above and replace them with the notice and | 
| 40  * other provisions required by the MPL or the GPL, as the case may be. | 40  * other provisions required by the MPL or the GPL, as the case may be. | 
| 41  * If you do not delete the provisions above, a recipient may use your | 41  * If you do not delete the provisions above, a recipient may use your | 
| 42  * version of this file under any of the LGPL, the MPL or the GPL. | 42  * version of this file under any of the LGPL, the MPL or the GPL. | 
| 43  */ | 43  */ | 
| 44 | 44 | 
| 45 #include "core/paint/PaintLayerStackingNode.h" | 45 #include "core/paint/PaintLayerStackingNode.h" | 
| 46 | 46 | 
|  | 47 #include <algorithm> | 
|  | 48 #include <memory> | 
| 47 #include "core/layout/LayoutMultiColumnFlowThread.h" | 49 #include "core/layout/LayoutMultiColumnFlowThread.h" | 
| 48 #include "core/layout/LayoutView.h" | 50 #include "core/layout/LayoutView.h" | 
| 49 #include "core/layout/compositing/PaintLayerCompositor.h" | 51 #include "core/layout/compositing/PaintLayerCompositor.h" | 
| 50 #include "core/paint/PaintLayer.h" | 52 #include "core/paint/PaintLayer.h" | 
| 51 #include "public/platform/Platform.h" | 53 #include "public/platform/Platform.h" | 
| 52 #include "wtf/PtrUtil.h" | 54 #include "wtf/PtrUtil.h" | 
| 53 #include <algorithm> |  | 
| 54 #include <memory> |  | 
| 55 | 55 | 
| 56 namespace blink { | 56 namespace blink { | 
| 57 | 57 | 
| 58 // FIXME: This should not require PaintLayer. There is currently a cycle where | 58 // FIXME: This should not require PaintLayer. There is currently a cycle where | 
| 59 // in order to determine if we isStacked() we have to ask the paint | 59 // in order to determine if we isStacked() we have to ask the paint | 
| 60 // layer about some of its state. | 60 // layer about some of its state. | 
| 61 PaintLayerStackingNode::PaintLayerStackingNode(PaintLayer* layer) | 61 PaintLayerStackingNode::PaintLayerStackingNode(PaintLayer* layer) | 
| 62     : m_layer(layer) | 62     : m_layer(layer) | 
| 63 #if DCHECK_IS_ON() | 63 #if DCHECK_IS_ON() | 
| 64       , | 64       , | 
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 263       return stackingNode; | 263       return stackingNode; | 
| 264   } | 264   } | 
| 265   return 0; | 265   return 0; | 
| 266 } | 266 } | 
| 267 | 267 | 
| 268 LayoutBoxModelObject* PaintLayerStackingNode::layoutObject() const { | 268 LayoutBoxModelObject* PaintLayerStackingNode::layoutObject() const { | 
| 269   return m_layer->layoutObject(); | 269   return m_layer->layoutObject(); | 
| 270 } | 270 } | 
| 271 | 271 | 
| 272 }  // namespace blink | 272 }  // namespace blink | 
| OLD | NEW | 
|---|