Index: Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp |
=================================================================== |
--- Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp (revision 127631) |
+++ Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp (working copy) |
@@ -534,9 +534,9 @@ |
void FrameLoaderClient::redirectDataToPlugin(Widget* pluginWidget) |
{ |
- ASSERT(!m_pluginView); |
m_pluginView = static_cast<PluginView*>(pluginWidget); |
- m_hasSentResponseToPlugin = false; |
+ if (pluginWidget) |
+ m_hasSentResponseToPlugin = false; |
} |
PassRefPtr<Widget> FrameLoaderClient::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* element, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues) |