| Index: content/shell/renderer/webkit_test_runner.cc
|
| diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
|
| index d1c471f32326e175c833531948721335eff27215..6d008ff316c128a2abd60f27c96afa67f8a1d222 100644
|
| --- a/content/shell/renderer/webkit_test_runner.cc
|
| +++ b/content/shell/renderer/webkit_test_runner.cc
|
| @@ -225,8 +225,8 @@ void WebKitTestRunner::SetScreenOrientation(
|
| const WebScreenOrientationType& orientation) {
|
| MockScreenOrientationClient* mock_client =
|
| proxy()->GetScreenOrientationClientMock();
|
| - mock_client->UpdateDeviceOrientation(render_view()->GetWebView()->mainFrame(),
|
| - orientation);
|
| + mock_client->UpdateDeviceOrientation(
|
| + render_view()->GetWebView()->mainFrame()->toWebLocalFrame(), orientation);
|
| }
|
|
|
| void WebKitTestRunner::ResetScreenOrientation() {
|
|
|