| 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 c62946e1c6896bb4809b8be9f4e1b79de0b9b381..9b579140b8e36dbaae22b22fd3f7ecc8eb4a5c11 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp
|
| @@ -113,7 +113,7 @@ TEST_F(LayoutObjectTest, MapToVisibleRectInContainerSpace)
|
| " <span><img style='width: 20px; height: 100px'></span>"
|
| " text text text text text text text"
|
| "</div>");
|
| - LayoutBlock* container = toLayoutBlock(document().getElementById("container")->layoutObject());
|
| + LayoutBlock* container = toLayoutBlock(getLayoutObjectByElementId("container"));
|
| LayoutText* text = toLayoutText(container->lastChild());
|
|
|
| container->setScrollTop(LayoutUnit(50));
|
|
|