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

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

Issue 2777493003: Include control clip in list of clip-related properties. (Closed)
Patch Set: Created 3 years, 9 months 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
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 53d16737e5ecf5784be508b73adb2c613f3439d0..947be57798827e4a15d8d43d2df93624eecccba3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -822,10 +822,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
return isOutOfFlowPositioned() && !style()->hasAutoClip();
}
bool hasOverflowClip() const { return m_bitfields.hasOverflowClip(); }
- bool hasClipRelatedProperty() const {
- return hasClip() || hasOverflowClip() || hasClipPath() ||
- style()->containsPaint();
- }
+ bool hasClipRelatedProperty() const;
bool hasTransformRelatedProperty() const {
return m_bitfields.hasTransformRelatedProperty();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698