| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index b045da9a3d98955be2334474c3f9d394c126ddf4..bb180249e8612c98471e248ef8a312477fa75b6b 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -102,11 +102,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()
|
|
|