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 b1d8247167de927328c63ad63f1763a4f38fb5f0..986127c4a8a1cbd0fc97ea5aa016339bfbe33558 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -801,6 +801,11 @@ class CORE_EXPORT Element : public ContainerNode { |
virtual void parserDidSetAttributes() {} |
+ // Helper method which ensures that compositing inputs have been cleaned. |
+ // Cleaning the compositing inputs is required when computing the location of |
+ // position:sticky elements or their descendants. |
+ void ensureCompositingInputsClean(); |
+ |
private: |
void scrollLayoutBoxBy(const ScrollToOptions&); |
void scrollLayoutBoxTo(const ScrollToOptions&); |