Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: Source/core/rendering/RenderLayerCompositor.cpp

Issue 19019004: Set root clip layer not to maskToBounds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698