| Index: LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html
|
| diff --git a/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html b/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html
|
| index 1a65a5d5f9f00ca150c3060063309712eae3c625..95c96cc90b8bfed7445964fdae399c0e3e8ae8c9 100644
|
| --- a/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html
|
| +++ b/LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html
|
| @@ -25,12 +25,8 @@
|
| var layer = document.getElementById('layer');
|
| layer.addEventListener('touchstart', function() {});
|
|
|
| - // Ensure we've done a layout, updated compositing, and we have a hit rect on this composited layer.
|
| + // Ensure we've done a layout and we have a hit rect on this composited layer.
|
| var x = layer.offsetTop;
|
| -
|
| - if (window.internals)
|
| - window.internals.forceCompositingUpdate(document);
|
| -
|
| var rects;
|
| if (window.internals) {
|
| rects = window.internals.touchEventTargetLayerRects(document);
|
| @@ -41,8 +37,8 @@
|
| // Make the layer non-composited
|
| layer.className = '';
|
|
|
| - // Verify we now have a hit rect on the document.
|
| - // (layout and compositing update are done by touchEventTargetLayerRects().)
|
| + // Force layout and verify we now have a hit rect on the document.
|
| + x = layer.offsetTop;
|
| if (window.internals) {
|
| rects = window.internals.touchEventTargetLayerRects(document);
|
| shouldBe("rects.length", "1");
|
|
|