| Index: third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html b/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
|
| index 20b77cf27f344297a719e11b536de9e3f2c24e51..0baa2f04896fd5f778ea36a9eca3ec39657848e4 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/no-recalc-on-no-op-inline-style-changes.html
|
| @@ -8,14 +8,14 @@ test(function () {
|
| if (!window.internals)
|
| assert_unreached('This test requires window.internals.');
|
|
|
| - assert_greater_than(internals.updateStyleAndReturnAffectedElementCount(), 1);
|
| + assert_greater_than(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
|
|
|
| element.style.top = "0px";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
|
| + assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
|
|
|
| for (var i = 0; i < 100; i ++) {
|
| element.style.top = "0px";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 0);
|
| + assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 0);
|
| }
|
| }, "Check that a no-op inline style change doesn't result in a recalc");
|
| </script>
|
|
|