summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/test/plugin_windowed_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/test/plugin_windowed_test.cc')
-rw-r--r--webkit/glue/plugins/test/plugin_windowed_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/plugins/test/plugin_windowed_test.cc b/webkit/glue/plugins/test/plugin_windowed_test.cc
index 0c46d68..2ed3ae6 100644
--- a/webkit/glue/plugins/test/plugin_windowed_test.cc
+++ b/webkit/glue/plugins/test/plugin_windowed_test.cc
@@ -138,6 +138,10 @@ LRESULT CALLBACK WindowedPluginTest::WindowProc(
this_ptr->done_ = true;
CallJSFunction(this_ptr, "PluginCreated");
}
+
+ if (this_ptr->done_) {
+ ::RemoveProp(window, L"Plugin_Instance");
+ }
}
return DefWindowProc(window, message, wparam, lparam);