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

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

Issue 2770943003: Include control clip in list of clip-related properties. (Closed)
Patch Set: Merge branch 'master' into squash 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 1b717926bd8516e2329b30505e815d5a686b1dde..b1425232839d2e23f5efbf5379605ace6f8e67f1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -823,10 +823,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