Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index 5a05988ff8b2e3a5ea30d28366f6cd2ff68b07b7..68a4ddd5b6043e67311961ce598f018fdc64ee0a 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -526,7 +526,7 @@ bool ScrollingCoordinator::coordinatesScrollingForFrameView(FrameView* frameView |
ASSERT(m_page); |
// We currently only handle the main frame. |
- if (frameView->frame() != m_page->mainFrame()) |
+ if (&frameView->frame() != m_page->mainFrame()) |
return false; |
// We currently only support composited mode. |
@@ -711,7 +711,7 @@ bool ScrollingCoordinator::isForMainFrame(ScrollableArea* scrollableArea) const |
GraphicsLayer* ScrollingCoordinator::scrollLayerForFrameView(FrameView* frameView) |
{ |
- RenderView* renderView = frameView->frame()->contentRenderer(); |
+ RenderView* renderView = frameView->frame().contentRenderer(); |
if (!renderView) |
return 0; |
return renderView->compositor()->scrollLayer(); |