Index: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-id.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-id.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-id.html |
index 2ee5af89cce5c0cda66b5fdde47bd9cf7ae5e55d..6d498cad5a5f70b22727c627b55d60342c8ac4f1 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-id.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-id.html |
@@ -28,14 +28,14 @@ document.body.offsetTop; // Force style recalc. |
document.getElementById("t1").className = "a1"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(b1, null).backgroundColor", "green"); |
document.body.offsetLeft; // force style recalc. |
document.getElementById("t2").className = "a2"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(b2, null).backgroundColor", "green"); |
</script> |