[Qt] Set the clipRect correctly in windowed and windowless mode.
authorGirish Ramakrishnan <girish@forwardbias.in>
Thu, 26 Aug 2010 11:56:40 +0000 (11:56 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 27 Aug 2010 13:33:43 +0000 (10:33 -0300)
commit4a3c8a09303316623216e38f5dea9e0b3f215a26
tree1f78c19b191b8d96daeb1476071edccd61960f32
parent37adffcaefae272d80ef82053d399a23ad023b7e
[Qt] Set the clipRect correctly in windowed and windowless mode.
In Windowed mode, the values are in page coordinates. In Windowless
mode the values are in drawable coordinates. Setting these values is
purely academic since they are not used by Flash. However, there is a
possibility that plugins might infer a 'null' clipRect to mean 'invisible'.

https://bugs.webkit.org/show_bug.cgi?id=44594

Reviewed by Simon Hausmann.

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::setNPWindowIfNeeded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/plugins/qt/PluginViewQt.cpp