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

Unified Diff: LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.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/compositing/overflow/dynamic-composited-scrolling-status.html
===================================================================
--- LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html (revision 159992)
+++ LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html (working copy)
@@ -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