Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html |
index d5e9a0893f1d50d7321d3b7b854cffa0f94675da..f8f1094f3a032a94f065298d806d6c7e6fe4814e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-recalc.html |
@@ -39,7 +39,7 @@ document.body.offsetTop; |
document.body.querySelector("#t1 > div").className = "a"; |
shouldBe("getComputedStyle(document.body.querySelector('#t1 .b')).color", "green", true); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "0"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "0"); |
// No style invalidation or recalc scheduled for an ascendant of .e, and no affected-by-adjacent |
// bits set on any ascendants, hence we don't need to do a recalc even if a style invalidation |
@@ -49,7 +49,7 @@ document.body.offsetTop; |
document.body.querySelector("#t2 > div > div").className = "c"; |
shouldBe("getComputedStyle(document.body.querySelector('#t2 .e')).color", "green", true); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
// No style invalidation or recalc scheduled for an ascendant of .b, and even if affected-by-adjacent |
// bits are set on the ascendant (because of a+b), it doesn't matter since that ascendant does |
@@ -59,6 +59,6 @@ document.body.offsetTop; |
document.body.querySelector("#t3 > div > div").className = "c"; |
shouldBe("getComputedStyle(document.body.querySelector('#t3 .b')).color", "green", true); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
</script> |