diff options
Diffstat (limited to 'WebCore/platform/graphics/win/WKCACFLayer.cpp')
-rw-r--r-- | WebCore/platform/graphics/win/WKCACFLayer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/win/WKCACFLayer.cpp b/WebCore/platform/graphics/win/WKCACFLayer.cpp index bbe5883..bf47925 100644 --- a/WebCore/platform/graphics/win/WKCACFLayer.cpp +++ b/WebCore/platform/graphics/win/WKCACFLayer.cpp @@ -355,6 +355,9 @@ void WKCACFLayer::setBounds(const CGRect& rect) if (m_needsDisplayOnBoundsChange) setNeedsDisplay(); + + if (m_layoutClient) + setNeedsLayout(); } void WKCACFLayer::setFrame(const CGRect& rect) @@ -368,6 +371,9 @@ void WKCACFLayer::setFrame(const CGRect& rect) if (m_needsDisplayOnBoundsChange && !CGSizeEqualToSize(rect.size, oldFrame.size)) setNeedsDisplay(); + + if (m_layoutClient) + setNeedsLayout(); } void WKCACFLayer::setContentsGravity(ContentsGravityType type) |