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 8d80825f23199f2d5d01d3ce2e10c3a0149aeaa6..da7437c044fdb64ae6f243c5057bff31bb0cdf27 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: |