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

Unified Diff: content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html

Issue 2594393003: Improve gpu pixel test for OffscreenCanvas (Closed)
Patch Set: Created 4 years 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 | « content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_main.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html
diff --git a/content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html b/content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html
index 292500ea9b39392e52a27e2ab9aa960d5fb866c0..77cb4c934e8c22dc80ff3aaf8dc2df5195dc45dd 100644
--- a/content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html
+++ b/content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_worker.html
@@ -2,7 +2,7 @@
<!-- READ BEFORE UPDATING:
If this test is updated make sure to increment the "revision" value of the
-associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure
+associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ensure
that the baseline images are regenerated on the next run.
-->
@@ -84,10 +84,10 @@ function draw()
var canvas = document.getElementById("c");
var offscreenCanvas = canvas.transferControlToOffscreen();
var worker = makeWorker(document.getElementById("myWorker").textContent);
- worker.postMessage(offscreenCanvas, [offscreenCanvas]);
worker.onmessage = function (e) {
waitForFinish();
}
+ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
}
function waitForFinish()
« no previous file with comments | « content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698