Index: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h |
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h |
index 61c4d99de013552e599e3fb7c7fb08108f4784a7..2f6f31d48ec47153e6a730791bc788789f5af95e 100644 |
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h |
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.h |
@@ -50,7 +50,7 @@ struct GraphicsLayerPaintInfo { |
IntSize offsetFromLayoutObject; |
bool offsetFromLayoutObjectSet; |
- GraphicsLayerPaintInfo() : paintLayer(0), offsetFromLayoutObjectSet(false) { } |
+ GraphicsLayerPaintInfo() : paintLayer(nullptr), offsetFromLayoutObjectSet(false) { } |
}; |
enum GraphicsLayerUpdateScope { |
@@ -189,7 +189,7 @@ public: |
return m_squashingLayerOffsetFromTransformedAncestor; |
} |
- // If there is a squashed layer painting into this CLM that is an ancestor of the given LayoutObject, return it. Otherwise return 0. |
+ // If there is a squashed layer painting into this CLM that is an ancestor of the given LayoutObject, return it. Otherwise return nullptr. |
const GraphicsLayerPaintInfo* containingSquashedLayer(const LayoutObject*, unsigned maxSquashedLayerIndex); |
void updateScrollingBlockSelection(); |