| Index: LayoutTests/fast/autoresize/autoresize-with-iframe.html
 | 
| diff --git a/LayoutTests/fast/autoresize/autoresize-with-iframe.html b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
 | 
| index aff02c660789f16c6ce924434308b0a3c1082e61..c1abe078944f3316498317b25fc094878cc69cab 100644
 | 
| --- a/LayoutTests/fast/autoresize/autoresize-with-iframe.html
 | 
| +++ b/LayoutTests/fast/autoresize/autoresize-with-iframe.html
 | 
| @@ -11,7 +11,7 @@
 | 
|  
 | 
|  function run()
 | 
|  {
 | 
| -    var frameWindow = window.frames['frame'];
 | 
| +    var frameWindow = document.getElementById("frame").contentWindow;
 | 
|      frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*");
 | 
|      frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*");
 | 
|      frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.notifyDone();", "*");
 | 
| @@ -19,7 +19,7 @@
 | 
|  </script>
 | 
|  </head>
 | 
|  <body onload="run()" style="width:400px; height:200px; background-color:yellow;">
 | 
| -<iframe name="frame" style="width:100%; height:100%;" src="resources/iframe.html">
 | 
| +<iframe id="frame" style="width:100%; height:100%;" src="resources/iframe.html">
 | 
|  </iframe>
 | 
|  </body>
 | 
|  </html>
 | 
| 
 |