| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index 8f57dee350faa7884cc7372419ce94486679e48e..9a8a2d5139020144c3f744571d9824a19e86811c 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -102,8 +102,11 @@ void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) {
|
| SetMockDeviceOrientationDataForTesting(data);
|
| }
|
|
|
| -void SetMockScreenOrientation(
|
| +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);
|
| }
|
|
|