| Index: third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| index 9808d052dfb2b62ac927f1fd4c252820a49e5ca0..7e0322badda3b004d19ece9c424e1662baa6bdb7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
|
| @@ -1141,6 +1141,7 @@ const AtomicString& HTMLElement::EventParameterName() {
|
| }
|
|
|
| int HTMLElement::offsetLeftForBinding() {
|
| + EnsureLifecycleValidForLocationAPIs();
|
| Element* offset_parent = unclosedOffsetParent();
|
| if (LayoutBoxModelObject* layout_object = GetLayoutBoxModelObject())
|
| return AdjustLayoutUnitForAbsoluteZoom(
|
| @@ -1151,6 +1152,7 @@ int HTMLElement::offsetLeftForBinding() {
|
| }
|
|
|
| int HTMLElement::offsetTopForBinding() {
|
| + EnsureLifecycleValidForLocationAPIs();
|
| Element* offset_parent = unclosedOffsetParent();
|
| if (LayoutBoxModelObject* layout_object = GetLayoutBoxModelObject())
|
| return AdjustLayoutUnitForAbsoluteZoom(
|
|
|