зеркало из https://github.com/mozilla/gecko-dev.git
Bug 337917 Make consumers stop using cids from other modules
r=brettw@gmail.com sr=neil
This commit is contained in:
Родитель
4af059b87e
Коммит
52a93bff56
|
@ -57,9 +57,6 @@ const PRInt32 nsAnnotationService::kAnnoIndex_Content = 4;
|
|||
const PRInt32 nsAnnotationService::kAnnoIndex_Flags = 5;
|
||||
const PRInt32 nsAnnotationService::kAnnoIndex_Expiration = 6;
|
||||
|
||||
static NS_DEFINE_CID(kmozStorageServiceCID, MOZ_STORAGE_SERVICE_CID);
|
||||
static NS_DEFINE_CID(kmozStorageConnectionCID, MOZ_STORAGE_CONNECTION_CID);
|
||||
|
||||
nsAnnotationService* nsAnnotationService::gAnnotationService;
|
||||
|
||||
NS_IMPL_ISUPPORTS1(nsAnnotationService,
|
||||
|
|
|
@ -18,9 +18,6 @@
|
|||
|
||||
#include "mozStorageCID.h"
|
||||
|
||||
static NS_DEFINE_CID(kmozStorageServiceCID, MOZ_STORAGE_SERVICE_CID);
|
||||
static NS_DEFINE_CID(kmozStorageConnectionCID, MOZ_STORAGE_CONNECTION_CID);
|
||||
|
||||
#define TEST_CHECK_ERROR(rv) \
|
||||
do { if (NS_FAILED(rv)) { \
|
||||
dbConn->GetLastError(&gerr); \
|
||||
|
@ -62,7 +59,7 @@ main (int argc, char **argv)
|
|||
NS_InitXPCOM2(nsnull, nsnull, nsnull);
|
||||
|
||||
nsCOMPtr<mozIStorageService> dbSrv;
|
||||
dbSrv = do_GetService(kmozStorageServiceCID, &rv);
|
||||
dbSrv = do_GetService(MOZ_STORAGE_SERVICE_CONTRACTID, &rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
nsCOMPtr<nsILocalFile> f;
|
||||
|
|
Загрузка…
Ссылка в новой задаче