Index: third_party/WebKit/LayoutTests/fast/css/invalidation/lang-pseudo.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/lang-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/lang-pseudo.html |
index a2502576820f331420a1715efcde5ba40a7751da..bad43e5590e4ad8448c726a6145d45b5c0c0a28b 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/lang-pseudo.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/lang-pseudo.html |
@@ -33,7 +33,7 @@ document.documentElement.offsetTop; // Force recalc. |
norwegian.lang = "no"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(norwegian).backgroundColor", "green"); |
shouldBe("getComputedStyle(nospan).backgroundColor", "green"); |
@@ -42,7 +42,7 @@ document.documentElement.offsetTop; // Force recalc. |
english.setAttributeNS("http://www.w3.org/XML/1998/namespace", "lang", "en"); |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(english).backgroundColor", "green"); |
shouldBe("getComputedStyle(enspan).backgroundColor", "green"); |