Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1160)

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 284583003: Use WebScreenInfo members to provide screen orientation information for layout test support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed formatting. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698