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

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

Issue 26110004: Defer the real work in updateCompositingLayers until it's really needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing 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
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);

Powered by Google App Engine
This is Rietveld 408576698