Index: third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html b/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html |
index 8a90331e625136e08663e86cad1de8ea0d0af613..9de37a2d77806c523a98d2863aab2fde8c80a2d6 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html |
@@ -31,14 +31,14 @@ var sheetContainer = document.getElementById('sheet-container'); |
sheetContainer.innerHTML = '<style>.foo { color: green; }</style><style>.bar { color: red; }</style>' |
// 6 elements + documentElement + body get recalced. |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "8"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "8"); |
document.documentElement.offsetTop; |
sheetContainer.innerHTML = '<style>.baz { color: blue; }</style>' |
// 9 elements + documentElement + body get recalced. |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "10"); |
+ shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "10"); |
shouldBe("getComputedStyle(document.querySelector('.foo')).color", '"rgb(0, 0, 0)"'); |
shouldBe("getComputedStyle(document.querySelector('.baz')).color", '"rgb(0, 0, 255)"'); |