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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-helper.js

Issue 2896773002: [DONT COMMIT] PaintWorklet: Move paintWorklet from 'window' to 'CSS' (Closed)
Patch Set: WIP Created 3 years, 6 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/http/tests/csspaint/resources/test-runner-paint-helper.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-helper.js b/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-helper.js
index e7aec3d12ad8b45b46f70e53d0908bb1c28a0808..4890aa3cfa1df0385dc93be7b26ad362b37a3399 100644
--- a/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-helper.js
+++ b/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-helper.js
@@ -19,11 +19,11 @@ function runner(tests) {
console.log('The worklet should not throw an error.');
}
var blob = new Blob([obj.script], {type: 'text/javascript'});
- return paintWorklet.addModule(URL.createObjectURL(blob));
+ return CSS.paintWorklet.addModule(URL.createObjectURL(blob));
});
}, Promise.resolve()).then(function() {
if (window.testRunner) {
testRunner.notifyDone();
}
});
-}
+}

Powered by Google App Engine
This is Rietveld 408576698