| 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 6a2b51a67217c5063353421019810a3ab4f38aed..1ee83a8b340c42fc6abcf75b4318fe468a2ecfe8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -423,6 +423,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) {
|
|
|