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