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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js

Issue 2826983002: Rename Worklet.import() to Worklet.addModule(). (Closed)
Patch Set: Fixing Layout Tests Created 3 years, 8 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/csspaint/resources/test-runner-invalidation-logging.js
diff --git a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js
index 87e19283ed4ee9a975951b8f608cba325fdd1dbe..f13983446b0a1a7cd95465b8ad9f1b59b52d5330 100644
--- a/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js
+++ b/third_party/WebKit/LayoutTests/csspaint/resources/test-runner-invalidation-logging.js
@@ -32,7 +32,7 @@ function testRunnerInvalidationLogging(imageType, tests) {
}
`;
- paintWorklet.import(URL.createObjectURL(new Blob([workletCode]))).then(function() {
+ paintWorklet.addModule(URL.createObjectURL(new Blob([workletCode]))).then(function() {
for (let i = 0; i < tests.length; i++) {
tests[i].paintName = 'paint-' + i;
registerTest(imageType, tests[i]);

Powered by Google App Engine
This is Rietveld 408576698