| Index: webkit/glue/plugins/test/plugin_npobject_proxy_test.cc
|
| ===================================================================
|
| --- webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (revision 42644)
|
| +++ webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (working copy)
|
| @@ -18,6 +18,9 @@
|
| }
|
|
|
| NPError NPObjectProxyTest::SetWindow(NPWindow* pNPWindow) {
|
| + if (pNPWindow->window == NULL)
|
| + return NPERR_NO_ERROR;
|
| +
|
| NPIdentifier document_id = HostFunctions()->getstringidentifier("document");
|
| NPIdentifier create_text_node_id = HostFunctions()->getstringidentifier("createTextNode");
|
| NPIdentifier append_child_id = HostFunctions()->getstringidentifier("appendChild");
|
|
|