summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc')
-rw-r--r--webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc b/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
index 7277211..4564506 100644
--- a/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
+++ b/webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
@@ -46,6 +46,8 @@ void CALLBACK NPObjectLifetimeTest::TimerProc(
reinterpret_cast<NPObjectLifetimeTest*>
(::GetProp(window, L"Plugin_Instance"));
KillTimer(window, this_instance->timer_id_);
+ ::RemoveProp(window, L"Plugin_Instance");
+
this_instance->timer_id_ = 0;
this_instance->other_plugin_instance_object_ =