| Index: plugin/npapi_host_control/win/np_plugin_proxy.cc
|
| ===================================================================
|
| --- plugin/npapi_host_control/win/np_plugin_proxy.cc (revision 26426)
|
| +++ plugin/npapi_host_control/win/np_plugin_proxy.cc (working copy)
|
| @@ -286,6 +286,19 @@
|
| return true;
|
| }
|
|
|
| +bool NPPluginProxy::SetWindow(const NPWindow& window) {
|
| + if (plugin_funcs_.setwindow != NULL &&
|
| + NPERR_NO_ERROR != plugin_funcs_.setwindow(
|
| + GetNPP(),
|
| + const_cast<NPWindow*>(&window))) {
|
| + plugin_funcs_.destroy(GetNPP(), NULL);
|
| + NP_Shutdown_();
|
| + ATLASSERT(false && "Unknown failure re-setting plugin window.");
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| void NPPluginProxy::TearDown() {
|
| // Block until all stream operations requested by this plug-in have
|
| // completed.
|
|
|