зеркало из https://github.com/mozilla/gecko-dev.git
change implementation to Imp2 so it is faster and smaller and do not depend on MTT
This commit is contained in:
Родитель
4bf9ccd81f
Коммит
e30e92cb4c
Двоичные данные
intl/unicharutil/macbuild/unicharutil.mcp
Двоичные данные
intl/unicharutil/macbuild/unicharutil.mcp
Двоичный файл не отображается.
|
@ -23,20 +23,18 @@ DEFINES= -DWIN32_LEAN_AND_MEAN
|
|||
LIBRARY_NAME= unicharutil
|
||||
|
||||
OBJS= \
|
||||
.\$(OBJDIR)\ucdata.obj \
|
||||
$(NULL)
|
||||
|
||||
CSRCS= \
|
||||
ucdata.c \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS= \
|
||||
nsCaseConversionImp.cpp \
|
||||
nsCaseConversionImp2.cpp \
|
||||
nsUnicharUtilFactory.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS= \
|
||||
.\$(OBJDIR)\nsCaseConversionImp.obj \
|
||||
.\$(OBJDIR)\nsCaseConversionImp2.obj \
|
||||
.\$(OBJDIR)\nsUnicharUtilFactory.obj \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "nsIFactory.h"
|
||||
#include "nsUnicharUtilCIID.h"
|
||||
#include "nsICaseConversion.h"
|
||||
#include "nsCaseConversionImp.h"
|
||||
#include "nsCaseConversionImp2.h"
|
||||
|
||||
|
||||
NS_DEFINE_IID(kFactoryIID, NS_IFACTORY_IID);
|
||||
|
@ -68,7 +68,7 @@ nsresult nsUnicharUtilFactory::CreateInstance(nsISupports *aDelegate,
|
|||
|
||||
*aResult = NULL;
|
||||
|
||||
nsISupports *inst = new nsCaseConversionImp();
|
||||
nsISupports *inst = new nsCaseConversionImp2();
|
||||
if(NULL == inst) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче