Jacek Caban : mshtml: Don't call AutoRegister on GRE directory - it' s no longer needed.

Alexandre Julliard julliard at winehq.org
Mon Jul 6 09:34:01 CDT 2009


Module: wine
Branch: master
Commit: 3ab8778ec9384f03eb5ab0a101f1e92597bca7a2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3ab8778ec9384f03eb5ab0a101f1e92597bca7a2

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Jul  6 13:41:48 2009 +0200

mshtml: Don't call AutoRegister on GRE directory - it's no longer needed.

---

 dlls/mshtml/nsembed.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 9a3f396..85a3a0d 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -448,10 +448,6 @@ static BOOL init_xpcom(const PRUnichar *gre_path)
         if(NS_FAILED(nsres))
             ERR("AutoRegister(NULL) failed: %08x\n", nsres);
 
-        nsres = nsIComponentRegistrar_AutoRegister(registrar, gre_dir);
-        if(NS_FAILED(nsres))
-            ERR("AutoRegister(gre_dir) failed: %08x\n", nsres);
-
         init_nsio(pCompMgr, registrar);
     }else {
         ERR("NS_GetComponentRegistrar failed: %08x\n", nsres);




More information about the wine-cvs mailing list