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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html

Issue 1826383002: Change the context type name to "bitmaprender" for ImageBitmapRenderingContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html
index e50866997db917a149cdb970f1f70a4bad51e8e6..aee7f6579220a1665566a48ea167b7f8f3fc1442 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html
@@ -41,7 +41,7 @@ if (window.testRunner) {
var blob = new Blob([document.getElementById('myWorker').textContent]);
var worker = new Worker(URL.createObjectURL(blob));
worker.addEventListener('message', msg => {
- var outputCtx = document.getElementById('output').getContext('imagebitmap');
+ var outputCtx = document.getElementById('output').getContext('bitmaprenderer');
outputCtx.transferImageBitmap(msg.data);
if (window.testRunner) {
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698