Index: Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm |
=================================================================== |
--- Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (revision 145387) |
+++ Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (working copy) |
@@ -1583,6 +1583,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) |
{ |