Chromium Code Reviews| Index: LayoutTests/fast/images/repaint-subrect-grid.html |
| diff --git a/LayoutTests/fast/images/repaint-subrect-grid.html b/LayoutTests/fast/images/repaint-subrect-grid.html |
| index 2d9bc01506da41be6fbefa3882cf6a174afd65a2..77ee302bab153f136ef9e1777e57b7b0f8c38578 100644 |
| --- a/LayoutTests/fast/images/repaint-subrect-grid.html |
| +++ b/LayoutTests/fast/images/repaint-subrect-grid.html |
| @@ -39,8 +39,8 @@ |
| mask.style.left = pos[currentPos][1]; |
| ++currentPos; |
| - // Force a style recalc. |
| - document.body.offsetWidth; |
| + if (window.internals) |
| + internals.forceCompositingUpdate(document); |
| if (window.testRunner) |
| repaintTest(); |