Index: third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html |
diff --git a/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html b/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html |
index 9c78289efe9f9e51dce5d0035799767673c7b905..5290ec81971cd62f50560bd3e241342de4cc8575 100644 |
--- a/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html |
+++ b/third_party/WebKit/LayoutTests/fast/images/width-on-broken-data-src.html |
@@ -3,7 +3,9 @@ |
<script src="../../resources/check-layout.js"></script> |
<p>crbug.com/522673: Return the correct width for images with broken data: uri's.</p> |
<script> |
- checkLayout("img"); |
+ window.onload = function() { |
+ checkLayout("img"); |
+ } |
</script> |