Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html

Issue 30383002: Merge 159961 "Defer the real work in updateCompositingLayers unt..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1675/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html
===================================================================
--- LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html (revision 159992)
+++ LayoutTests/fast/events/touch/touch-rect-crash-on-unpromote-layer.html (working copy)
@@ -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);

Powered by Google App Engine
This is Rietveld 408576698