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

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

Issue 2773163002: 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 2d9ee9665dc36394032cc6623affb81618c2fc03..604677fd513c8cfb4fc6c14ea46f9836ef103bc6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -813,10 +813,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