Index: Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm |
=================================================================== |
--- Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (revision 145274) |
+++ Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (working copy) |
@@ -1571,6 +1571,12 @@ |
event->setDefaultHandled(); // We don't know if the plug-in has handled mousedown event by displaying a context menu, so we never want WebKit to show a default one. |
} |
+ virtual void clipRectChanged() |
+ { |
+ // Changing the clip rect doesn't affect the view hierarchy, so the plugin must be told about the change directly. |
+ [(WebBaseNetscapePluginView *)platformWidget() updateAndSetWindow]; |
+ } |
+ |
private: |
virtual void notifyWidget(WidgetNotification notification) |
{ |