26583,2946, 22636 (partial),32782
33570,27136,24184,35125,
35806,36063,29456
r=rickg,waqar
34311 - Patch provided by Patrick ( Fix for MLK ).
r=me.


git-svn-id: svn://10.0.0.236/trunk@66741 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2000-04-21 21:22:03 +00:00
parent 48cfcc6fd3
commit 3f72307bc5
16 changed files with 248 additions and 140 deletions

View File

@@ -1180,7 +1180,7 @@ void CObserverService::RegisterObservers(const nsString& aTopic) {
nsServiceManager::ReleaseService(NS_OBSERVERSERVICE_PROGID, theObserverService);
if(result == NS_OK) {
nsIElementObserver *theElementObserver = nsnull;
nsCOMPtr<nsIElementObserver> theElementObserver;
nsISupports *inst = nsnull;
nsObserverTopic *theTopic=0;
@@ -1188,7 +1188,7 @@ void CObserverService::RegisterObservers(const nsString& aTopic) {
for (theEnum->First(); theEnum->IsDone() != NS_OK; theEnum->Next()) {
result = theEnum->CurrentItem(&inst);
if (NS_SUCCEEDED(result)) {
result = inst->QueryInterface(NS_GET_IID(nsIElementObserver), (void**)&theElementObserver);
theElementObserver = do_QueryInterface(inst, &result);
NS_RELEASE(inst);
}
if (result == NS_OK) {