| Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index ca740b97dba7be8b11eebb19597e7e2fe2557c6f..5a05988ff8b2e3a5ea30d28366f6cd2ff68b07b7 100644
|
| --- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -711,11 +711,7 @@ bool ScrollingCoordinator::isForMainFrame(ScrollableArea* scrollableArea) const
|
|
|
| GraphicsLayer* ScrollingCoordinator::scrollLayerForFrameView(FrameView* frameView)
|
| {
|
| - Frame* frame = frameView->frame();
|
| - if (!frame)
|
| - return 0;
|
| -
|
| - RenderView* renderView = frame->contentRenderer();
|
| + RenderView* renderView = frameView->frame()->contentRenderer();
|
| if (!renderView)
|
| return 0;
|
| return renderView->compositor()->scrollLayer();
|
|
|