Index: Source/web/tests/PinchViewportTest.cpp |
diff --git a/Source/web/tests/PinchViewportTest.cpp b/Source/web/tests/PinchViewportTest.cpp |
index 26e446a62a679a2ec51df40dd0a9626eb76b98d8..118e3a367d803f87f5d831a8222cc86aa50c502e 100644 |
--- a/Source/web/tests/PinchViewportTest.cpp |
+++ b/Source/web/tests/PinchViewportTest.cpp |
@@ -216,7 +216,7 @@ TEST_F(PinchViewportTest, TestWebViewResizedBeforeAttachment) |
webViewImpl()->layout(); |
PinchViewport& pinchViewport = frame()->page()->frameHost().pinchViewport(); |
- EXPECT_FLOAT_SIZE_EQ(FloatSize(320, 240), pinchViewport.rootGraphicsLayer()->size()); |
+ EXPECT_FLOAT_SIZE_EQ(FloatSize(320, 240), pinchViewport.containerLayer()->size()); |
} |
// Make sure that the visibleRect method acurately reflects the scale and scroll location |
// of the viewport. |