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 3437cf4296e70ae3d4d4bbdf1ffbe584cd95c7a5..4a6d1e0ae85351caecacc8739a2115ac9ca55bf7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -118,7 +118,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) |
@@ -954,8 +953,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) |