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 8d2dea621acfaea9ce1a017c837c1ff63b499829..a242902f3c5dafc4782cc23e508b32f45c8331c4 100644 |
--- a/content/shell/renderer/webkit_test_runner.cc |
+++ b/content/shell/renderer/webkit_test_runner.cc |
@@ -254,7 +254,7 @@ void WebKitTestRunner::setDeviceOrientationData( |
void WebKitTestRunner::setScreenOrientation( |
const WebScreenOrientationType& orientation) { |
- SetMockScreenOrientation(orientation); |
+ SetMockScreenOrientation(render_view(), orientation); |
} |
void WebKitTestRunner::resetScreenOrientation() { |