Index: third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html |
diff --git a/third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html b/third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html |
index ff8b32a7f5ade78011174c8b75d1de9ceed07b57..3a6eacfaf90e9a486369d385f8f6ac231acc49e0 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html |
+++ b/third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html |
@@ -31,7 +31,7 @@ var el = document.getElementById('output'); |
el.style.backgroundImage = 'paint(green)'; |
var blob = new Blob([document.getElementById('code').textContent]); |
-paintWorklet.import(URL.createObjectURL(blob)).then(function() { |
+paintWorklet.addModule(URL.createObjectURL(blob)).then(function() { |
runAfterLayoutAndPaint(function() { |
if (window.testRunner) { |
testRunner.notifyDone(); |