Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2558633005: Mark clip paths as a clip-related property (Closed)
Patch Set: Add layout test for clip-path Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/compositing/clip-path-with-composited-descendent-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 7df69259740621fc3e23f4eb27af59c6e6845e49..1482aced8be9939bfa579efad43c72dacb9d4b96 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -805,7 +805,8 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
}
bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); }
bool hasClipRelatedProperty() const {
- return hasClip() || hasOverflowClip() || style()->containsPaint();
+ return hasClip() || hasOverflowClip() || hasClipPath() ||
+ style()->containsPaint();
}
bool hasTransformRelatedProperty() const {
« no previous file with comments | « third_party/WebKit/LayoutTests/compositing/clip-path-with-composited-descendent-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698