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..e090a7eb8f964980868824b599d90aa2d85d9e5e 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp |
@@ -108,8 +108,8 @@ TEST_F(CompositedLayerMappingTest, TallLayerWholeDocumentInterestRect) |
PaintLayer* paintLayer = toLayoutBoxModelObject(element->layoutObject())->layer(); |
ASSERT_TRUE(paintLayer->graphicsLayerBacking()); |
ASSERT_TRUE(paintLayer->compositedLayerMapping()); |
- // recomputeInterestRect computes the interest rect; computeInterestRect applies the extra setting to paint everything. |
- EXPECT_RECT_EQ(IntRect(0, 0, 200, 4592), recomputeInterestRect(paintLayer->graphicsLayerBacking())); |
+ // Clipping is disabled in recomputeInterestRect. |
+ EXPECT_RECT_EQ(IntRect(0, 0, 200, 10000), recomputeInterestRect(paintLayer->graphicsLayerBacking())); |
EXPECT_RECT_EQ(IntRect(0, 0, 200, 10000), computeInterestRect(paintLayer->compositedLayerMapping(), paintLayer->graphicsLayerBacking(), IntRect())); |
} |
@@ -117,8 +117,6 @@ TEST_F(CompositedLayerMappingTest, VerticalRightLeftWritingModeDocument) |
{ |
setBodyInnerHTML("<style>html,body { margin: 0px } html { -webkit-writing-mode: vertical-rl}</style> <div id='target' style='width: 10000px; height: 200px;'></div>"); |
- document().settings()->setMainFrameClipsContent(false); |
- |
document().view()->updateAllLifecyclePhases(); |
document().view()->setScrollPosition(DoublePoint(-5000, 0), ProgrammaticScroll); |
document().view()->updateAllLifecyclePhases(); |