Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 7057f128c57690eb3cbadea8dd5d837515d24557..c153b9234382b7c0028e5ab7f5b5bb8d8a50520a 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -413,6 +413,12 @@ void WebPluginContainerImpl::scrollRect(const WebRect& rect) |
invalidateRect(rect); |
} |
+void WebPluginContainerImpl::setNeedsLayout() |
+{ |
+ if (m_element->layoutObject()) |
+ m_element->layoutObject()->setNeedsLayout("Plugin needs layout"); |
+} |
+ |
void WebPluginContainerImpl::reportGeometry() |
{ |
// We cannot compute geometry without a parent or layoutObject. |