GNOME Bugzilla – Bug 321254
don't use nsCOMPtr in the plugin
Last modified: 2005-11-11 22:29:45 UTC
I know I wrote that code myself :) but it's causing me problems: take a totem plugin compiled against a non-debug xpcom version, and run it in a browser debug build -> crash:
+ Trace 64016
I think it has something to do with the different layout of nsCOMPtr in debug vs. non-debug builds, but I'm no C++ expert. Anyway, the attached patch fixes the problem for me.
Created attachment 54651 [details] [review] fix
You break it, you fix it ;) Please commit to HEAD and gnome-2-12, thanks.
2005-11-11 Christian Persch <chpe@cvs.gnome.org> * src/totem-mozilla-plugin.cpp: Don't use nsCOMPtr in the plugin. Fixes crash when running a normal plugin in a browser debug build, bug #321254.