Index: third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html b/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html |
index 8a6bd8c108f0bdd9f1b69d782dc24625b5b00303..9e5a01739e57f730348e6550e79dad44592c20c3 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html |
@@ -6,7 +6,7 @@ |
var console = document.getElementById('console'); |
var image = document.getElementById('image'); |
- if (image.naturalHeight && image.naturalWidth) |
+ if (image.height && image.width) |
console.innerHTML = "PASSED"; |
else |
console.innerHTML = "FAILED"; |
@@ -23,7 +23,7 @@ |
} |
var image = document.getElementById('image'); |
- if (image.naturalHeight || image.naturalWidth) { |
+ if (image.height || image.width) { |
console.innerHTML = "FAILED"; |
return; |
} |