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

Unified Diff: chrome/test/data/gpu/pixel_canvas2d.html

Issue 10097010: Hopefully fixes canvas tests for soft_gpu_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/gpu/pixel_canvas2d.html
diff --git a/chrome/test/data/gpu/pixel_canvas2d.html b/chrome/test/data/gpu/pixel_canvas2d.html
index fc4505eef7a098b5108bc95fd2e53072adc598cd..8e54bace54d234a33319c6045a1752c749a25573 100644
--- a/chrome/test/data/gpu/pixel_canvas2d.html
+++ b/chrome/test/data/gpu/pixel_canvas2d.html
@@ -42,7 +42,7 @@ function waitForFinish()
domAutomationController.send("resized");
} else {
g_swapsBeforeAck--;
- draw();
+ document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1;
window.webkitRequestAnimationFrame(waitForFinish);
}
}
@@ -67,7 +67,7 @@ function preCallResizeInChromium(targetWidth, targetHeight)
<body onload="notifyLoadFinished()">
<div style="position:relative; width:200px; height:200px; background-color:black">
</div>
-<div style="position:absolute; top:0px; left:0px">
+<div id="container" style="position:absolute; top:0px; left:0px">
<canvas id="c" width="200" height="200" class="nomargin"></canvas>
</div>
</body>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698