Chromium Code Reviews| Index: LayoutTests/screen_orientation/orientationchange-event-subframe.html |
| diff --git a/LayoutTests/screen_orientation/orientationchange-event-subframe.html b/LayoutTests/screen_orientation/orientationchange-event-subframe.html |
| index f64053f0c4c1ec2702d39b862c7f673abff03213..be30f77ec8f0b517b7bc7a1509618533bd015269 100644 |
| --- a/LayoutTests/screen_orientation/orientationchange-event-subframe.html |
| +++ b/LayoutTests/screen_orientation/orientationchange-event-subframe.html |
| @@ -17,7 +17,7 @@ |
| 'landscape-secondary' |
| ]; |
| - var currentIndex = orientations.indexOf(window.screen.orientation); |
| + var currentIndex = orientations.indexOf(window.screen.orientation.type); |
| var eventsReceived = 0; |
| function getNextIndex() { |