Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index 648771015c3e8b2161aa254c2b3ada38870f995b..38ad62f267f84638d6dfe484dd88fa16a6d7bdcc 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -105,11 +105,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() |