Index: third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html |
index 67f056d0cdfdb05105aac431519e00a6fae4a891..1eee174ec2d0a12b23822b01627428f68dab659e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/required-optional-pseudo.html |
@@ -31,14 +31,14 @@ shouldBe("getComputedStyle(inputOptional, '').backgroundColor", "transparent"); |
document.body.offsetTop; // Force recalc. |
inputOptional.removeAttribute("required"); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(inputOptional, '').backgroundColor", "green"); |
shouldBe("getComputedStyle(inputRequired, '').backgroundColor", "transparent"); |
document.body.offsetTop; // Force recalc. |
inputRequired.setAttribute("required", ""); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(inputRequired, '').backgroundColor", "green"); |
</script> |