Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index c4c24032461ada027bba17ac2421a8889e643788..fccd8ad7cde22f8ab778c36db881d818df0a5a8c 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -117,7 +117,6 @@ GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client) |
, m_contentsOpaque(false) |
, m_shouldFlattenTransform(true) |
, m_backfaceVisibility(true) |
- , m_masksToBounds(false) |
, m_drawsContent(false) |
, m_contentsVisible(true) |
, m_isRootForIsolatedGroup(false) |
@@ -952,8 +951,7 @@ void GraphicsLayer::setRenderingContext(int context) |
void GraphicsLayer::setMasksToBounds(bool masksToBounds) |
{ |
- m_masksToBounds = masksToBounds; |
- m_layer->layer()->setMasksToBounds(m_masksToBounds); |
+ m_layer->layer()->setMasksToBounds(masksToBounds); |
} |
void GraphicsLayer::setDrawsContent(bool drawsContent) |