Index: Source/WebCore/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp b/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp |
index b0fe6878aebcef7a337ecd758ca4540aea95367a..a0824cd703c941217b34875826a3d252a2c4f9a9 100644 |
--- a/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp |
@@ -534,16 +534,9 @@ GraphicsLayer* ScrollingCoordinator::scrollLayerForFrameView(FrameView* frameVie |
return renderView->compositor()->scrollLayer(); |
} |
-GraphicsLayer* ScrollingCoordinator::counterScrollingLayerForFrameView(FrameView* frameView) |
+GraphicsLayer* ScrollingCoordinator::counterScrollingLayerForFrameView(FrameView*) |
{ |
- Frame* frame = frameView->frame(); |
- if (!frame) |
- return 0; |
- |
- RenderView* renderView = frame->contentRenderer(); |
- if (!renderView) |
- return 0; |
- return renderView->compositor()->fixedRootBackgroundLayer(); |
+ return 0; |
} |
void ScrollingCoordinator::frameViewRootLayerDidChange(FrameView* frameView) |