Index: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html |
index 069ff6b492ceea9ef20cb540e221601c89cf0b82..a054d5a284b4aebeaa2e316f7865939a882c433c 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-pseudo.html |
@@ -35,28 +35,28 @@ document.body.offsetLeft; // force style recalc. |
host1.className = "c1"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(host1, null).backgroundColor", "green"); |
document.body.offsetLeft; // force style recalc. |
host2.className = "c2"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(inner, null).backgroundColor", "green"); |
document.body.offsetLeft; // force style recalc. |
host3.className = ""; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(host3, null).backgroundColor", "green"); |
document.body.offsetLeft; // force style recalc. |
host4.className = "c4"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(host4, null).backgroundColor", "green"); |
</script> |