Index: third_party/WebKit/LayoutTests/fast/images/image-zoom-to-500.html |
diff --git a/third_party/WebKit/LayoutTests/fast/images/image-zoom-to-500.html b/third_party/WebKit/LayoutTests/fast/images/image-zoom-to-500.html |
index 3aa3449e8d49f59ed195ee82e301ea79b2186e96..d1aff3d0afa2b115d2ebb03713f5e61ccf7651ce 100644 |
--- a/third_party/WebKit/LayoutTests/fast/images/image-zoom-to-500.html |
+++ b/third_party/WebKit/LayoutTests/fast/images/image-zoom-to-500.html |
@@ -37,8 +37,10 @@ function zoomPage() |
eventSender.zoomPageIn(); |
log("Size at zoom level" + (count) + " : " + image.clientWidth + "x" + image.clientHeight); |
++count; |
- if (count == 10) |
+ if (count == 10) { |
+ newwindow.onresize = undefined; |
testRunner.notifyDone(); |
+ } |
} |
}; |