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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-worklet.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-worklet.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-worklet.js b/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-worklet.js
index 28134915ff312cca656dff3281845a8261496d5d..8fd3d1b2222a7698957e04e05f9babf8b6dbbe19 100644
--- a/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-worklet.js
+++ b/third_party/WebKit/LayoutTests/http/tests/csspaint/resources/test-runner-paint-worklet.js
@@ -10,7 +10,7 @@ function importPaintWorkletAndTerminateTestAfterAsyncPaint(code) {
}
var blob = new Blob([code], {type: 'text/javascript'});
- paintWorklet.addModule(URL.createObjectURL(blob)).then(function() {
+ CSS.paintWorklet.addModule(URL.createObjectURL(blob)).then(function() {
runAfterLayoutAndPaint(function() {
if (window.testRunner) {
testRunner.notifyDone();

Powered by Google App Engine
This is Rietveld 408576698