Chromium Code Reviews| Index: LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html |
| diff --git a/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html b/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html |
| index 8b81f64b91202f68bf917c5b1cf46f2d7a697154..d721f56163466c2fc1fea9e18debe7b3561dfd51 100644 |
| --- a/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html |
| +++ b/LayoutTests/screen_orientation/resources/sandboxed-iframe-locking.html |
| @@ -2,7 +2,7 @@ |
| <html> |
| <script> |
| var msg = ""; |
| - screen.lockOrientation("portrait-primary").then(function() { |
| + screen.orientation.lock("portrait-primary").then(function() { |
| }, function(error) { |
| msg = error.name; |
| }); |