| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 5834d948e1aa15405552dd92382df3707521b74a..7f1179c6d8e2ba12d74c9bceb6276f68d1dfb4fb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -424,6 +424,15 @@ LayoutObject* LayoutObject::nextInPreOrder() const {
|
| return nextInPreOrderAfterChildren();
|
| }
|
|
|
| +bool LayoutObject::hasClipRelatedProperty() const {
|
| + if (hasClip() || hasOverflowClip() || hasClipPath() ||
|
| + style()->containsPaint())
|
| + return true;
|
| + if (isBox() && toLayoutBox(this)->hasControlClip())
|
| + return true;
|
| + return false;
|
| +}
|
| +
|
| LayoutObject* LayoutObject::nextInPreOrderAfterChildren() const {
|
| LayoutObject* o = nextSibling();
|
| if (!o) {
|
|
|