| Index: third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| index 96062def291e194a72191c39760a8e595ef0a3e4..6a86f8c51280fd286c050447144efd31bf19439b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "core/layout/LayoutTestHelper.h"
|
| #include "core/layout/LayoutView.h"
|
| +#include "core/layout/api/LayoutAPIShim.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace blink {
|
| @@ -15,7 +16,7 @@ public:
|
| LayoutObjectTest()
|
| : RenderingTest(SingleChildFrameLoaderClient::create()) {}
|
| protected:
|
| - LayoutView& layoutView() const { return *document().layoutView(); }
|
| + LayoutView& layoutView() const { return *toLayoutView(LayoutAPIShim::layoutObjectFrom(document().layoutViewItem())); }
|
| };
|
|
|
| TEST_F(LayoutObjectTest, LayoutDecoratedNameCalledWithPositionedObject)
|
|
|