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

Unified Diff: LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html

Issue 1161463007: De-flaking some tests in virtual/gpu/fast/canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: undo previous patch (wrong issue) Created 5 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: LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html
diff --git a/LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html b/LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html
index e5d8d7d386490f6e7e6ba79d982b6376e5a1edb1..25e3d3d848f709e34db8df09ed60f4681473bccf 100644
--- a/LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html
+++ b/LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html
@@ -32,7 +32,7 @@
// This changes the resolution of the canvas but keeps its layout size constant.
canvas.width = canvas.width / 2;
if (window.testRunner)
- testRunner.notifyDone();
+ testRunner.layoutAndPaintAsyncThen(function(){ testRunner.notifyDone(); });
}
</script>
</head>
« no previous file with comments | « LayoutTests/fast/canvas/canvas-render-layer.html ('k') | LayoutTests/fast/canvas/canvas-state-persistence-no-dirty.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698