[Webkit-unassigned] [Bug 24002] [Qt] Flash contents will not resize when the browser is resized
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 14 19:55:37 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24002
--- Comment #13 from Girish Ramakrishnan <girish at forwardbias.in> 2009-12-14 19:55:37 PST ---
https://bugs.webkit.org/show_bug.cgi?id=32059 adds a fix that can be used as a
workaround for this problem. After you have applied the patch in 32059, you
have to patch Qt yourself with the following patch.
DO NOT INCLUDE THIS PATCH IN Qt/WebKit!
diff --git a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
index 3c30ab5..a1b54ec 100644
--- a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
+++ b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
@@ -1305,7 +1305,7 @@ PassRefPtr<Widget>
FrameLoaderClientQt::createPlugin(const IntSize& pluginSize,
Vector<String> values = paramValues;
if (mimeType == "application/x-shockwave-flash") {
QWebPageClient* client = m_webFrame->page()->d->client;
- if (!client || !qobject_cast<QWidget*>(client->pluginParent())) {
+// if (!client || !qobject_cast<QWidget*>(client->pluginParent()))
{
// inject wmode=opaque when there is no client or the client
is not a QWebView
size_t wmodeIndex = params.find("wmode");
if (wmodeIndex == -1) {
@@ -1314,7 +1314,7 @@ PassRefPtr<Widget>
FrameLoaderClientQt::createPlugin(const IntSize& pluginSize,
} else
values[wmodeIndex] = "opaque";
}
- }
+// }
RefPtr<PluginView> pluginView = PluginView::create(m_frame,
pluginSize, element, url,
params, values, mimeType, loadManually);
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list