| 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 b5f82161f715d5037408dd464fcc40636cb03645..31739610c01bcf7f26186482f72812b3dc6db6c8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -426,6 +426,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) {
|
|
|