diff options
Diffstat (limited to 'webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc')
-rw-r--r-- | webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc b/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc index 8f3a89f..2907a5e 100644 --- a/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc +++ b/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc @@ -113,9 +113,6 @@ NPObjectDeletePluginInNPN_Evaluate::~NPObjectDeletePluginInNPN_Evaluate() { } NPError NPObjectDeletePluginInNPN_Evaluate::SetWindow(NPWindow* np_window) { - if (!::IsWindowVisible(reinterpret_cast<HWND>(np_window->window))) - return NPERR_NO_ERROR; - HWND window_handle = reinterpret_cast<HWND>(np_window->window); // We setup a timerproc to invoke NPN_Evaluate to destroy this plugin // instance. This is to ensure that we don't destroy the plugin instance |