Index: Source/WebCore/page/FrameView.cpp |
=================================================================== |
--- Source/WebCore/page/FrameView.cpp (revision 92298) |
+++ Source/WebCore/page/FrameView.cpp (working copy) |
@@ -1151,7 +1151,7 @@ |
#if PLATFORM(CHROMIUM) |
// The chromium compositor does not support scrolling a non-composited frame within a composited page through |
// the fast scrolling path, so force slow scrolling in that case. |
- if (!isEnclosedInCompositingLayer() && m_frame->page() && m_frame->page()->mainFrame()->view()->hasCompositedContent()) |
+ if (m_frame->ownerElement() && !hasCompositedContent() && m_frame->page() && m_frame->page()->mainFrame()->view()->hasCompositedContent()) |
return true; |
#endif |