| 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 9b0ab6e6ced219e4f512f65ba15156b7e9a98393..42d4d30d7836df4ae0e6b93008eef33cf3155d24 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -513,6 +513,10 @@ class CORE_EXPORT Document : public ContainerNode,
|
| PassRefPtr<ComputedStyle> StyleForElementIgnoringPendingStylesheets(Element*);
|
| PassRefPtr<ComputedStyle> StyleForPage(int page_index);
|
|
|
| + // Ensure that the document lifecycle is in a valid state to call
|
| + // location-based APIs on a given node, advancing the lifecycle if not.
|
| + void EnsureLifecycleValidForLocationAPIsForNode(const Node*);
|
| +
|
| // Returns true if page box (margin boxes and page borders) is visible.
|
| bool IsPageBoxVisible(int page_index);
|
|
|
|
|