Index: third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
index 11538857455000c76dab1f170ea70eb78b2a9bfe..683cb11b62c48e2fa67632b15a38850a88fe74a8 100644 |
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
@@ -6,6 +6,7 @@ |
#include "core/layout/LayoutTestHelper.h" |
#include "core/layout/LayoutView.h" |
+#include "core/layout/api/LayoutAPIShim.h" |
#include "core/layout/compositing/PaintLayerCompositor.h" |
#include "core/paint/LayoutObjectDrawingRecorder.h" |
#include "core/paint/PaintLayer.h" |
@@ -32,7 +33,7 @@ private: |
RenderingTest::SetUp(); |
enableCompositing(); |
- m_layoutView = document().view()->layoutView(); |
+ m_layoutView = toLayoutView(LayoutAPIShim::layoutObjectFrom(document().view()->layoutViewItem())); |
ASSERT_TRUE(m_layoutView); |
} |