Index: Source/core/rendering/RenderLayerCompositor.cpp |
diff --git a/Source/core/rendering/RenderLayerCompositor.cpp b/Source/core/rendering/RenderLayerCompositor.cpp |
index c5c9045b7a457f9d83c6b6c202ec0a1d7bec8c00..7ee6d5b625fd021aa9d8454326ebceb1ba561fab 100644 |
--- a/Source/core/rendering/RenderLayerCompositor.cpp |
+++ b/Source/core/rendering/RenderLayerCompositor.cpp |
@@ -2397,7 +2397,8 @@ void RenderLayerCompositor::ensureRootLayer() |
#ifndef NDEBUG |
m_clipLayer->setName("frame clipping"); |
#endif |
- m_clipLayer->setMasksToBounds(true); |
+ if (expectedAttachment != RootLayerAttachedViaChromeClient) |
trchen
2013/07/11 01:11:16
if (!isMainFrame())
sounds more straightforward IM
aelias_OOO_until_Jul13
2013/07/11 03:46:17
Done.
|
+ m_clipLayer->setMasksToBounds(true); |
m_scrollLayer = GraphicsLayer::create(graphicsLayerFactory(), this); |
#ifndef NDEBUG |