Index: Source/core/rendering/RenderWidget.cpp |
diff --git a/Source/core/rendering/RenderWidget.cpp b/Source/core/rendering/RenderWidget.cpp |
index 227d7f8cb44584e647d35cd6cbac1ef7c76d343d..52ccf7abe03a4eba0e62cfb2a74a469ae467d019 100644 |
--- a/Source/core/rendering/RenderWidget.cpp |
+++ b/Source/core/rendering/RenderWidget.cpp |
@@ -150,7 +150,7 @@ bool RenderWidget::setWidgetGeometry(const LayoutRect& frame) |
if (clipChanged && !frameRectChanged) |
m_widget->clipRectChanged(); |
- if (hasLayer() && layer()->isComposited()) |
+ if (hasLayer() && layer()->compositingState() == PaintsIntoOwnBacking) |
layer()->backing()->updateAfterWidgetResize(); |
bool boundsChanged = m_widget->frameRect().size() != newFrame.size(); |