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

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

Issue 2770943003: Include control clip in list of clip-related properties. (Closed)
Patch Set: none 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 ac9462f73910d0dbe23ccc828005c2807dda3866..836868f7f2041b89d8141c2ecf15542e61194b1e 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();

Powered by Google App Engine
This is Rietveld 408576698