Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#include "nsIFactory.h"
|
||||
#include "nsIStringEnumerator.h"
|
||||
#include "nsSupportsPrimitives.h"
|
||||
#include "nsIServiceManagerUtils.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIObserver.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsCRT.h"
|
||||
|
||||
Reference in New Issue
Block a user