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 22b69f679c0e5f21ec526f9ac6e97a7168158c83..d4182a25d50e83064ffdfd103915b6349a4b476f 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
@@ -848,7 +848,8 @@ TEST_P(CompositedLayerMappingTest, |
PaintLayer* layer = |
toLayoutBlock(getLayoutObjectByElementId("container"))->layer(); |
- EXPECT_TRUE(layer->canPaintBackgroundOntoScrollingContentsLayer()); |
+ EXPECT_EQ(BackgroundPaintInScrollingContents, |
+ layer->backgroundPaintLocation()); |
// We currently don't use composited scrolling when the container has a |
// border-radius so even though we can paint the background onto the scrolling |