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 ca05b6403d7e93908ef8d708c3345e5490782678..d449485511af897869b0e90f21f5664f078cd657 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h |
@@ -146,6 +146,11 @@ public: |
return m_layoutObject->node(); |
} |
+ void updateStyleAndLayout() |
+ { |
+ return m_layoutObject->document().updateStyleAndLayout(); |
+ } |
+ |
const ComputedStyle& styleRef() const |
{ |
return m_layoutObject->styleRef(); |