Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 047e339cba3e817a5c7eb056291cb3d2776f7584..f72347729db4dd715dff1ac9408f8577e46a783c 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -775,7 +775,7 @@ int Element::clientHeight() { |
} |
double Element::scrollLeft() { |
- document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this); |
+ document().updateScrollPosition(this); |
if (document().scrollingElement() == this) { |
if (document().domWindow()) |
@@ -790,7 +790,7 @@ double Element::scrollLeft() { |
} |
double Element::scrollTop() { |
- document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this); |
+ document().updateScrollPosition(this); |
if (document().scrollingElement() == this) { |
if (document().domWindow()) |