Index: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
index 34fac14dea8f15c6500b21c47029eca72db946fe..40e0f56d09d0fb0ed83cfe884ad4fee960cea100 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
@@ -48,7 +48,7 @@ document.body.offsetTop; // Force style recalc. |
document.getElementById("t1").className = "a1"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(children[0][0], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[0][1], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[0][2], null).backgroundColor", "transparent"); |
@@ -58,7 +58,7 @@ document.body.offsetLeft; // force style recalc. |
document.getElementById("t2").className = "a2"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(children[1][0], null).backgroundColor", "transparent"); |
shouldBe("getComputedStyle(children[1][1], null).backgroundColor", "transparent"); |
shouldBe("getComputedStyle(children[1][2], null).backgroundColor", "green"); |
@@ -68,7 +68,7 @@ document.body.offsetLeft; // force style recalc. |
document.getElementById("t3").className = "a3"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "5"); |
shouldBe("getComputedStyle(children[2][0], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[2][1], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[2][2], null).backgroundColor", "green"); |