зеркало из https://github.com/mozilla/pjs.git
Bug 348992 - gFastLoadService_ exported unnecessarily, r=brendan
This commit is contained in:
Родитель
305e7a7ad8
Коммит
d3b57fcec8
|
@ -100,7 +100,6 @@ EXPORTS = \
|
|||
nsAppDirectoryServiceDefs.h \
|
||||
nsDirectoryService.h \
|
||||
nsEscape.h \
|
||||
nsFastLoadPtr.h \
|
||||
nsFastLoadService.h \
|
||||
nsLinebreakConverter.h \
|
||||
nsLocalFile.h \
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#include "nsAutoLock.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsFastLoadFile.h"
|
||||
#include "nsFastLoadPtr.h"
|
||||
#include "nsFastLoadService.h"
|
||||
#include "nsString.h"
|
||||
|
||||
|
@ -58,8 +57,6 @@
|
|||
#include "nsISeekableStream.h"
|
||||
#include "nsISupports.h"
|
||||
|
||||
PR_IMPLEMENT_DATA(nsIFastLoadService*) gFastLoadService_ = nsnull;
|
||||
|
||||
NS_IMPL_THREADSAFE_ISUPPORTS1(nsFastLoadService, nsIFastLoadService)
|
||||
|
||||
nsFastLoadService::nsFastLoadService()
|
||||
|
@ -67,14 +64,10 @@ nsFastLoadService::nsFastLoadService()
|
|||
mFastLoadPtrMap(nsnull),
|
||||
mDirection(0)
|
||||
{
|
||||
NS_ASSERTION(gFastLoadService_ == nsnull, "double FastLoadService init?");
|
||||
gFastLoadService_ = this;
|
||||
}
|
||||
|
||||
nsFastLoadService::~nsFastLoadService()
|
||||
{
|
||||
gFastLoadService_ = nsnull;
|
||||
|
||||
if (mInputStream)
|
||||
mInputStream->Close();
|
||||
if (mOutputStream)
|
||||
|
|
Загрузка…
Ссылка в новой задаче