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 811b049495fd96859aa0197e0d13d23e8173bdb3..f12f9b3473b36ee2887fdd1e9cfb5ebf54a38a91 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::printMessage(const std::string& message) { |