[kazehakase-svn] [3372] * module/embed/gecko/mozilla.cpp: Use ADD_REF.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Thu Feb 21 10:06:35 JST 2008


Revision: 3372
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3372
Author:   ikezoe
Date:     2008-02-21 10:06:35 +0900 (Thu, 21 Feb 2008)

Log Message:
-----------
	* module/embed/gecko/mozilla.cpp: Use ADD_REF.

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/module/embed/gecko/mozilla.cpp

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2008-02-21 00:06:12 UTC (rev 3371)
+++ kazehakase/trunk/ChangeLog	2008-02-21 01:06:35 UTC (rev 3372)
@@ -5,6 +5,7 @@
 	* module/embed/gecko/kz-gecko-embed-module.cpp: Invoke
 	xulrunner_init().
 	* module/embed/gecko/mozilla.[cpp|h]: Added codes for xulrunner-1.9.
+	* module/embed/gecko/mozilla.cpp: Use ADD_REF.
 
 2008-02-20  Hiroyuki Ikezoe  <poinc****@ikezo*****>
 

Modified: kazehakase/trunk/module/embed/gecko/mozilla.cpp
===================================================================
--- kazehakase/trunk/module/embed/gecko/mozilla.cpp	2008-02-21 00:06:12 UTC (rev 3371)
+++ kazehakase/trunk/module/embed/gecko/mozilla.cpp	2008-02-21 01:06:35 UTC (rev 3372)
@@ -203,7 +203,7 @@
 		return rv;
 	}
 
-	*result = fact;
+	NS_ADDREF(*result = fact);
 	return rv;
 }
 #endif




More information about the Kazehakase-cvs mailing list
Back to archive index