Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index dbf24300948695646d45183b83c1007d842adeab..37f5a678ac82a3676837032340b05d63d74a6a99 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -495,6 +495,9 @@ class CORE_EXPORT Document : public ContainerNode, |
void updateStyleAndLayoutTreeIgnorePendingStylesheets(); |
void updateStyleAndLayoutTreeForNode(const Node*); |
void updateStyleAndLayout(); |
+ // Equivalent to updateStyleAndLayoutIgnorePendingStylesheets, plus scroll |
+ // anchoring adjustments. |
+ void updateScrollPosition(const Node* = nullptr); |
void layoutUpdated(); |
enum RunPostLayoutTasks { |
RunPostLayoutTasksAsyhnchronously, |
@@ -502,7 +505,7 @@ class CORE_EXPORT Document : public ContainerNode, |
}; |
void updateStyleAndLayoutIgnorePendingStylesheets( |
RunPostLayoutTasks = RunPostLayoutTasksAsyhnchronously); |
- void updateStyleAndLayoutIgnorePendingStylesheetsForNode(Node*); |
+ void updateStyleAndLayoutIgnorePendingStylesheetsForNode(const Node*); |
PassRefPtr<ComputedStyle> styleForElementIgnoringPendingStylesheets(Element*); |
PassRefPtr<ComputedStyle> styleForPage(int pageIndex); |