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

Unified Diff: content/test/data/gpu/pixel_offscreenCanvas_2d_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
Index: content/test/data/gpu/pixel_offscreenCanvas_2d_commit_worker.html
diff --git a/content/test/data/gpu/pixel_offscreenCanvas_2d_commit_worker.html b/content/test/data/gpu/pixel_offscreenCanvas_2d_commit_worker.html
index 1c02a62e1b22e3ac199ddc32b866d293b7094fb7..27c76fa51c4128b4e2599b2004b4f80efbc8a913 100644
--- a/content/test/data/gpu/pixel_offscreenCanvas_2d_commit_worker.html
+++ b/content/test/data/gpu/pixel_offscreenCanvas_2d_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.
-->
@@ -56,10 +56,10 @@ function main()
var canvas2D = document.getElementById("c");
var offscreenCanvas = canvas2D.transferControlToOffscreen();
var worker = makeWorker(document.getElementById("myWorker").textContent);
- worker.postMessage(offscreenCanvas, [offscreenCanvas]);
worker.onmessage = function (e) {
waitForFinish();
};
+ worker.postMessage(offscreenCanvas, [offscreenCanvas]);
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698