Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index bb180249e8612c98471e248ef8a312477fa75b6b..b045da9a3d98955be2334474c3f9d394c126ddf4 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -102,8 +102,11 @@ |
void SetMockScreenOrientation( |
RenderView* render_view, |
const blink::WebScreenOrientationType& orientation) { |
+ static_cast<RenderViewImpl*>(render_view) |
+ ->SetScreenOrientationForTesting(orientation); |
+ // FIXME(ostap): Remove this when blink side gets updated. |
RendererWebKitPlatformSupportImpl:: |
- SetMockScreenOrientationForTesting(render_view, orientation); |
+ SetMockScreenOrientationForTesting(orientation); |
} |
void ResetMockScreenOrientation() |