| 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 95c96cc90b8bfed7445964fdae399c0e3e8ae8c9..c306c510aeadf82579b6ced6c054d0525358b043 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,8 +25,12 @@
|
| var layer = document.getElementById('layer');
|
| layer.addEventListener('touchstart', function() {});
|
|
|
| - // Ensure we've done a layout and we have a hit rect on this composited layer.
|
| + // Ensure we've done a layout, updated compositing, 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);
|
|
|