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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/valid-image-before-load.html

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/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();

Powered by Google App Engine
This is Rietveld 408576698