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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.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
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-display-change.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html
index 488645707c57a1fafcf2f2507bcba5b5ead622ab..66801cc48e48541d6238e5da344ac697aa999ce4 100644
--- a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div-scrolled.html
@@ -10,6 +10,10 @@
function runTest() {
var targetDiv = document.getElementById('targetDiv');
var resultDiv = document.getElementById('result');
+
+ if (window.internals)
+ window.internals.forceCompositingUpdate(document);
+
if (!window.internals || !didOptIn(targetDiv))
resultDiv.innerHTML = "Error: target scrollable overflow div did not opt-in.";
var clientRect = document.getElementById('targetLink').getBoundingClientRect();
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-after-sibling-display-change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698