Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 9e6433bcd76e8c289afbb42f145b971ef64a4d4c..011312750c1d1dc5dc8781850f93f8842672fb3f 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -104,11 +104,8 @@ void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) { |
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(orientation); |
+ SetMockScreenOrientationForTesting(render_view, orientation); |
} |
void ResetMockScreenOrientation() |