Index: Source/WebKit/chromium/src/WebPluginContainerImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebPluginContainerImpl.cpp (revision 94746) |
+++ Source/WebKit/chromium/src/WebPluginContainerImpl.cpp (working copy) |
@@ -386,7 +386,7 @@ |
void WebPluginContainerImpl::loadFrameRequest(const WebURLRequest& request, const WebString& target, bool notifyNeeded, void* notifyData) |
{ |
Frame* frame = m_element->document()->frame(); |
- if (!frame) |
+ if (!frame || !frame->loader()->documentLoader()) |
return; // FIXME: send a notification in this case? |
if (notifyNeeded) { |