Index: third_party/WebKit/LayoutTests/fast/scrolling/scroll-to-origin-no-layout.html |
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/scroll-to-origin-no-layout.html b/third_party/WebKit/LayoutTests/fast/scrolling/scroll-to-origin-no-layout.html |
index 48d701e1aa832b6f6af915e5bdb55ca70f523ce4..5551e8589bc1866ea8670611c248f67f76e9d69f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/scrolling/scroll-to-origin-no-layout.html |
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/scroll-to-origin-no-layout.html |
@@ -6,7 +6,7 @@ spanner.style.height = "3000px"; |
scrollTo(0, 1000); |
if (window.internals) { |
- var styleCount = internals.updateStyleAndReturnAffectedElementCount(); |
+ var styleCount = internals.updateStyleAndLayoutAndReturnAffectedElementCount(); |
var layoutCount = internals.needsLayoutCount(); |
// scrollTo should have synchronously updated style and layout |
shouldBe("styleCount", "0"); |
@@ -18,7 +18,7 @@ spanner.style.height = "2000px"; |
scrollTo(0, 0); |
if (window.internals) { |
- var styleCount = internals.updateStyleAndReturnAffectedElementCount(); |
+ var styleCount = internals.updateStyleAndLayoutAndReturnAffectedElementCount(); |
var layoutCount = internals.needsLayoutCount(); |
// scrollTo should not need to synchronously updated style and layout |
shouldNotBe("styleCount", "0"); |