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

Unified Diff: LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js

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/resources/compositor-touch-hit-rects.js
diff --git a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
index cb002b8a0760c2e12ad14f002d485016dd910b5d..5aad5fd22f18e4ac2fd601515deefd1231fa30e3 100644
--- a/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
+++ b/LayoutTests/fast/events/touch/resources/compositor-touch-hit-rects.js
@@ -130,6 +130,9 @@ if (window.internals) {
}
window.onload = function() {
+ if (window.internals)
+ window.internals.forceCompositingUpdate(document);
+
// Run each general test case.
var tests = document.querySelectorAll('.testcase');
for ( var i = 0; i < tests.length; i++)

Powered by Google App Engine
This is Rietveld 408576698