| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index 67bbb1b98f2125059836dff5e11fcf60cee9d833..dcdec35f84cbacb30c1dd628f27b1be8b5f070a6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -503,7 +503,7 @@ bool LayoutView::mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ance
|
| if (ancestor == this)
|
| return true;
|
|
|
| - Element* owner = document().ownerElement();
|
| + Element* owner = document().localOwnerElement();
|
| if (!owner)
|
| return true;
|
|
|
| @@ -1021,7 +1021,7 @@ void LayoutView::updateFromStyle()
|
| LayoutBlockFlow::updateFromStyle();
|
|
|
| // LayoutView of the main frame is responsible for painting base background.
|
| - if (!document().ownerElement())
|
| + if (!document().localOwnerElement())
|
| setHasBoxDecorationBackground(true);
|
| }
|
|
|
|
|