| Index: third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| index 0f3f2a59e8ba0257ae59ae0799fc76546389ea3a..e145cfb0aaf3809e92570ec297d17f169faa1e63 100644
|
| --- a/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp
|
| @@ -60,7 +60,8 @@ public:
|
| // OSX attaches main frame scrollbars to the VisualViewport so the VisualViewport layers need
|
| // to be initialized.
|
| webViewImpl()->updateAllLifecyclePhases();
|
| - webViewImpl()->setRootGraphicsLayer(
|
| + WebFrameWidget* mainFrameWidget = static_cast<WebFrameWidget*>(webViewImpl()->mainFrame()->toWebLocalFrame()->frameWidget());
|
| + mainFrameWidget->setRootGraphicsLayer(
|
| webViewImpl()->mainFrameImpl()->frame()->view()->layoutViewItem().compositor()->rootGraphicsLayer());
|
| }
|
|
|
|
|