Index: Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp |
=================================================================== |
--- Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp (revision 127631) |
+++ Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp (working copy) |
@@ -1633,9 +1633,9 @@ |
void FrameLoaderClientQt::redirectDataToPlugin(Widget* pluginWidget) |
{ |
- ASSERT(!m_pluginView); |
m_pluginView = static_cast<PluginView*>(pluginWidget); |
- m_hasSentResponseToPlugin = false; |
+ if (pluginWidget) |
+ m_hasSentResponseToPlugin = false; |
} |
PassRefPtr<Widget> FrameLoaderClientQt::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* element, const KURL& url, |