Index: webkit/glue/plugins/test/plugin_delete_plugin_in_stream_test.cc |
=================================================================== |
--- webkit/glue/plugins/test/plugin_delete_plugin_in_stream_test.cc (revision 42644) |
+++ webkit/glue/plugins/test/plugin_delete_plugin_in_stream_test.cc (working copy) |
@@ -17,6 +17,9 @@ |
} |
NPError DeletePluginInStreamTest::SetWindow(NPWindow* pNPWindow) { |
+ if (pNPWindow->window == NULL) |
+ return NPERR_NO_ERROR; |
+ |
if (!test_started_) { |
std::string url = "self_delete_plugin_stream.html"; |
HostFunctions()->geturlnotify(id(), url.c_str(), NULL, |