Changeset 875

Show
Ignore:
Timestamp:
2008-03-12 06:58:26 (10 months ago)
Author:
MaierMan
Message:

lazy init filter-manager

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/components/filterManager.js

    r866 r875  
    321321                        .createInstance(Ci.nsITimer), 
    322322 
    323         _init: function FM_init() { 
     323        init: function FM_init() { 
    324324                this._prefs = this._prefs.QueryInterface(Ci.nsIPrefBranch2); 
    325325 
     
    342342                        this._timer.TYPE_ONE_SHOT 
    343343                ); 
     344                this.init = new Function(); 
    344345        }, 
    345346 
     
    531532        [Ci.nsITimerCallback, Ci.nsIObserver, Ci.dtaIFilterManager] 
    532533); 
    533 FilterManager._init(); 
    534534 
    535535// entrypoint 
    536536function NSGetModule(compMgr, fileSpec) { 
    537         return new ServiceModule(FilterManager, true); 
     537        return new ServiceModule(FilterManager, false); 
    538538}