Chromium Code Reviews| Index: LayoutTests/svg/custom/pending-resource-after-removal.xhtml |
| diff --git a/LayoutTests/svg/custom/pending-resource-after-removal.xhtml b/LayoutTests/svg/custom/pending-resource-after-removal.xhtml |
| index 9100804228ade013e35d1ba5fe06b59ef8523c28..ebdfb8e56036f85c0455e98c309be3fb113eeb74 100644 |
| --- a/LayoutTests/svg/custom/pending-resource-after-removal.xhtml |
| +++ b/LayoutTests/svg/custom/pending-resource-after-removal.xhtml |
| @@ -48,7 +48,10 @@ function updateFill() { |
| function repaintTest() { |
| updateFill(); |
| - setTimeout("updateFill()", 0); |
| + // Nested RAF to ensure enough time elapsed for repaint logging to occur |
|
Julien - ping for review
2014/10/03 22:22:32
runAfterDisplay would probably solve this issue bu
alex clarke (OOO till 29th)
2014/10/10 17:46:02
Done.
|
| + requestAnimationFrame(function() { |
| + requestAnimationFrame(updateFill); |
| + }); |
| } |
| </script> |
| <body onload="runRepaintAndPixelTest()"> |