Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
index 2328a074e1ea273a7cefc507a184623829d9ce95..534119636ba4f39135b89f0966e2d1f5303444ec 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
@@ -47,8 +47,8 @@ protected: |
bool shouldPaintBackgroundOntoScrollingContentsLayer(const char* elementId) |
{ |
- CompositedLayerMapping* mapping = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer()->compositedLayerMapping(); |
- return mapping->shouldPaintBackgroundOntoScrollingContentsLayer(); |
+ PaintLayer* paintLayer = toLayoutBlock(getLayoutObjectByElementId(elementId))->layer(); |
+ return paintLayer->shouldPaintBackgroundOntoScrollingContentsLayer(); |
} |
private: |