Fixed: <rdar://problem/3555137> REGRESSION (125-173): Flash animation can erase...
authorcblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2005 01:44:27 +0000 (01:44 +0000)
committercblu <cblu@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2005 01:44:27 +0000 (01:44 +0000)
commit0e1ac0fccfb3ff7002396fa811a6a6c3dc1d4b41
tree1519dfe4800f55c2aef65fa1a13a57d75629ddd4
parent78ac04138c5a9766273c23075bf46fd701c8df3a
Fixed: <rdar://problem/3555137> REGRESSION (125-173): Flash animation can erase parts of chrome (bookmarks bar & tab bar)

convertRect:toView: returns incorrect results inside of viewWillMoveToWindow: with a nil window. Workaround this by catching this case.

        Reviewed by darin.

        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView superviewsHaveSuperviews]): new
        (-[WebBaseNetscapePluginView saveAndSetPortStateForUpdate:]): clip out the plug-in view when superviewsHaveSuperviews returns NO

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Plugins.subproj/WebBaseNetscapePluginView.m