Index: third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html |
diff --git a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html |
index 3d2e9c6267cf70a1f99b8ad63c085ea84472a242..0b1414bf3933a086b223628605394a8e68751ea3 100644 |
--- a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html |
+++ b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html |
@@ -37,28 +37,28 @@ async_test(function(t) { |
ascendant.offsetTop; |
ascendant.classList.add("cue"); |
if (window.internals) |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 9); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 9); |
assert_equals(getComputedStyle(cueNode).backgroundColor, green); |
assert_equals(getComputedStyle(cNode).backgroundColor, red); |
ascendant.offsetTop; |
ascendant.classList.add("cuefunc"); |
if (window.internals) |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1); |
assert_equals(getComputedStyle(cNode).backgroundColor, green); |
assert_equals(getComputedStyle(iNode).backgroundColor, red); |
ascendant.offsetTop; |
ascendant.classList.add("past"); |
if (window.internals) |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1); |
assert_equals(getComputedStyle(iNode).backgroundColor, green); |
assert_equals(getComputedStyle(bNode).backgroundColor, red); |
ascendant.offsetTop; |
ascendant.classList.add("future"); |
if (window.internals) |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1); |
assert_equals(getComputedStyle(bNode).backgroundColor, green); |
}); |
video.currentTime = 0.1; |