Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index ba2fd82cb0395d9d890ffe824fec400cf3f59792..40170ed528c603506899887a599f622576ad11da 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -441,6 +441,18 @@ class CORE_EXPORT Element : public ContainerNode { |
// display none. |
const ComputedStyle* ensureComputedStyle(PseudoId = PseudoIdNone); |
+ const ComputedStyle* nonLayoutObjectComputedStyle() const; |
+ |
+ bool hasDisplayContentsStyle() const; |
+ |
+ ComputedStyle* mutableNonLayoutObjectComputedStyle() const { |
+ return const_cast<ComputedStyle*>(nonLayoutObjectComputedStyle()); |
+ } |
+ |
+ bool shouldStoreNonLayoutObjectComputedStyle(const ComputedStyle&) const; |
+ void storeNonLayoutObjectComputedStyle(PassRefPtr<ComputedStyle>); |
+ void clearNonLayoutObjectComputedStyle(); |
+ |
// Methods for indicating the style is affected by dynamic updates (e.g., |
// children changing, our position changing in our sibling list, etc.) |
bool styleAffectedByEmpty() const { |