Index: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js |
diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js |
index 53937e8acc5701cd9d8f3e052e76cfe832b03468..e2ce067986bcbba50ed35df7a37016f551734183 100644 |
--- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js |
+++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-geometry-logging.js |
@@ -20,7 +20,7 @@ function testRunnerGeometryLogging(tests, workletCode) { |
testRunner.dumpAsText(); |
} |
- paintWorklet.import('resources/paint-logging-green.js').then(function() { |
+ paintWorklet.addModule('resources/paint-logging-green.js').then(function() { |
tests.reduce(function(chain, obj) { |
return chain.then(function() { |
console.log('The worklet should log: \'width: ' + obj.expected.width + ', height: ' + obj.expected.height + '\''); |