Index: LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html |
diff --git a/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html b/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html |
index 413632d5879bb9b5f32b69cd7d7412e00f703230..930c43ca36e8604a28125b035c3d08ef55f5b194 100644 |
--- a/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html |
+++ b/LayoutTests/css3/filters/filter-repaint-composited-fallback-crash.html |
@@ -32,19 +32,24 @@ |
} |
</style> |
- <script src="../../fast/repaint/resources/repaint.js"></script> |
+ <script src="../../resources/run-after-display.js"></script> |
<script> |
- if (window.testRunner) |
+ if (window.testRunner) { |
testRunner.dumpAsTextWithPixelResults(); |
+ testRunner.waitUntilDone(); |
+ } |
function repaintTest() |
{ |
- document.querySelector(".before").classList.remove("before"); |
+ runAfterDisplay(function() { |
+ document.querySelector(".before").classList.remove("before"); |
+ testRunner.notifyDone(); |
+ }); |
} |
</script> |
</head> |
-<body onload="runRepaintTest()"> |
+<body onload="repaintTest()"> |
<div class="blur before"> |
<div class="box"></div> |