Index: third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml |
diff --git a/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml b/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml |
index cc3a3cc270b4d1ddfb7909ccf7fa0772045d5692..f5c1e6c362b2e8a041c82b3deeb4d5fe5c3e5b7e 100644 |
--- a/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml |
+++ b/third_party/WebKit/LayoutTests/svg/wicd/test-rightsizing-b.xhtml |
@@ -32,10 +32,9 @@ |
<script> |
if (window.testRunner) |
testRunner.waitUntilDone(); |
- runAfterLayoutAndPaint(function() { |
- if (window.testRunner) |
- testRunner.notifyDone(); |
- }); |
+ onload = function() { |
+ runAfterLayoutAndPaint(function() {}, true); |
+ }; |
</script> |
</body> |
</html> |