Index: third_party/WebKit/Source/core/layout/api/LayoutItem.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h |
index a3d0a0513b464417ccee2d6372608478759dc9f3..83d85a9948d092ea10682fbfc70f07dac7b81da1 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h |
@@ -178,11 +178,21 @@ public: |
return m_layoutObject->styleRef(); |
} |
+ ComputedStyle* mutableStyle() const |
+ { |
+ return m_layoutObject->mutableStyle(); |
+ } |
+ |
ComputedStyle& mutableStyleRef() const |
{ |
return m_layoutObject->mutableStyleRef(); |
} |
+ void setStyle(PassRefPtr<ComputedStyle> style) |
+ { |
+ m_layoutObject->setStyle(style); |
+ } |
+ |
LayoutSize offsetFromContainer(const LayoutItem& item) const |
{ |
return m_layoutObject->offsetFromContainer(item.layoutObject()); |
@@ -243,6 +253,16 @@ public: |
m_layoutObject->setNeedsLayoutAndPrefWidthsRecalc(reason); |
} |
+ bool wasNotifiedOfSubtreeChange() const |
+ { |
+ return m_layoutObject->wasNotifiedOfSubtreeChange(); |
+ } |
+ |
+ void handleSubtreeModifications() |
+ { |
+ m_layoutObject->handleSubtreeModifications(); |
+ } |
+ |
bool needsOverflowRecalcAfterStyleChange() const |
{ |
return m_layoutObject->needsOverflowRecalcAfterStyleChange(); |