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/compositing/overflow/dynamic-composited-scrolling-status.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/compositing/overflow/dynamic-composited-scrolling-status.html
diff --git a/LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html b/LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html
index dc1278bd4c2fa3c5485a0352eb4b2e83ffb88507..a0d3b63c1229f4e0204e16cf40fb2f9a7c0fc803 100644
--- a/LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html
+++ b/LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html
@@ -25,10 +25,11 @@
function doTest()
{
document.getElementById('content').style.height = '1000px';
- document.body.offsetHeight;
- if (window.internals)
+ if (window.internals) {
+ window.internals.forceCompositingUpdate(document);
document.getElementById('result').innerText = window.internals.nonFastScrollableRects(document).length ? "FAIL" : "PASS";
+ }
}
window.addEventListener('load', doTest, false);

Powered by Google App Engine
This is Rietveld 408576698