Index: Source/core/rendering/RenderWidget.cpp |
diff --git a/Source/core/rendering/RenderWidget.cpp b/Source/core/rendering/RenderWidget.cpp |
index 50cd0693c0fde230e9160af1f48f0da21d1910b8..ba97cd9e531504c913d399fdd29398337fe59778 100644 |
--- a/Source/core/rendering/RenderWidget.cpp |
+++ b/Source/core/rendering/RenderWidget.cpp |
@@ -122,7 +122,7 @@ bool RenderWidget::updateWidgetGeometry() |
LayoutRect contentBox = contentBoxRect(); |
LayoutRect absoluteContentBox(localToAbsoluteQuad(FloatQuad(contentBox)).boundingBox()); |
- if (widget->isFrameView()) { |
+ if (widget->isFrameView() || widget->isPluginContainer()) { |
contentBox.setLocation(absoluteContentBox.location()); |
return setWidgetGeometry(contentBox); |
} |