Index: Source/core/rendering/RenderWidget.cpp |
diff --git a/Source/core/rendering/RenderWidget.cpp b/Source/core/rendering/RenderWidget.cpp |
index 8a076db39f8e8849cfdada12220465f886c31c71..c351e53f66d8894a8ba4d559f43456710edc6f9c 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 && !boundsChanged) |
m_widget->clipRectChanged(); |
- if (hasLayer() && layer()->isComposited()) |
+ if (hasLayer() && layer()->compositingState() == PaintsIntoOwnBacking) |
layer()->backing()->updateAfterWidgetResize(); |
return boundsChanged; |